diff options
author | peter1138 <peter1138@openttd.org> | 2006-05-01 16:52:43 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2006-05-01 16:52:43 +0000 |
commit | 4e85de164ce83e6d23850bccf3c384bbcb12b630 (patch) | |
tree | 4291db7cc5eed4a94cd14a9f279378200700bdfe | |
parent | 8d5d386e77020ddb02e6e8498f150077f5339ab0 (diff) | |
download | openttd-4e85de164ce83e6d23850bccf3c384bbcb12b630.tar.xz |
(svn r4650) - NewGRF: use the correct type for _cur_spriteid
-rw-r--r-- | newgrf.c | 2 | ||||
-rw-r--r-- | newgrf.h | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -43,7 +43,7 @@ SpriteID _signal_base = 0; static GRFFile *_cur_grffile; GRFFile *_first_grffile; GRFConfig *_first_grfconfig; -static int _cur_spriteid; +static SpriteID _cur_spriteid; static int _cur_stage; static uint32 _nfo_line; @@ -33,7 +33,7 @@ typedef struct GRFFile { * half-filled wagon etc. Each spriteset contains eight sprites (one * per direction) or four sprites if the vehicle is symmetric. */ - int spriteset_start; + SpriteID spriteset_start; int spriteset_numsets; int spriteset_numents; int spriteset_feature; |