(svn r11170) -Fix (r11152): a variable's type was too small for the data that is going to put into it when NewIndustries are finally activated. For now it just removes a warning and doesn't really fix anything.
authorrubidium
Wed, 26 Sep 2007 14:21:23 +0000
changeset 7639 e17bd2a46caf
parent 7638 5f374c09da52
child 7640 8cf1b20cc69f
(svn r11170) -Fix (r11152): a variable's type was too small for the data that is going to put into it when NewIndustries are finally activated. For now it just removes a warning and doesn't really fix anything.
src/industry.h
--- a/src/industry.h	Wed Sep 26 14:17:26 2007 +0000
+++ b/src/industry.h	Wed Sep 26 14:21:23 2007 +0000
@@ -9,7 +9,7 @@
 #include "helpers.hpp"
 #include "newgrf_storage.h"
 
-typedef byte IndustryGfx;
+typedef uint16 IndustryGfx;
 typedef uint8 IndustryType;
 
 enum {