mirror of https://github.com/OpenTTD/OpenTTD
(svn r4650) - NewGRF: use the correct type for _cur_spriteid
parent
8d5d386e77
commit
4e85de164c
2
newgrf.c
2
newgrf.c
|
@ -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;
|
||||
|
||||
|
|
2
newgrf.h
2
newgrf.h
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue