industry_cmd.c
changeset 1174 27e386195965
parent 1093 e8d26c7dc42f
child 1202 7d8b86bd8ba2
--- a/industry_cmd.c	Tue Jan 25 21:00:38 2005 +0000
+++ b/industry_cmd.c	Tue Jan 25 21:43:57 2005 +0000
@@ -1876,7 +1876,8 @@
 };
 
 static const byte _industry_desc[] = {
-	SLE_VAR(Industry,xy,							SLE_UINT16),
+	SLE_CONDVAR(Industry, xy,					SLE_FILE_U16 | SLE_VAR_U32, 0, 5),
+	SLE_CONDVAR(Industry, xy,					SLE_UINT32, 6, 255),
 	SLE_VAR(Industry,width,						SLE_UINT8),
 	SLE_VAR(Industry,height,					SLE_UINT8),
 	SLE_REF(Industry,town,						REF_TOWN),