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 | 8a4a39d38c2de08a0190cc143f79882fc5e950ab (patch) | |
tree | 4291db7cc5eed4a94cd14a9f279378200700bdfe | |
parent | e3b84cc7f5ef76fca65b82d913fc4a4507bb240c (diff) | |
download | openttd-8a4a39d38c2de08a0190cc143f79882fc5e950ab.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; |