(svn r4650) - NewGRF: use the correct type for _cur_spriteid
authorpeter1138
Mon, 01 May 2006 16:52:43 +0000
changeset 3707 7dc7e4d2487e
parent 3706 6ec8b4f5a641
child 3708 a152a2d1d4d1
(svn r4650) - NewGRF: use the correct type for _cur_spriteid
newgrf.c
newgrf.h
--- a/newgrf.c	Mon May 01 14:30:24 2006 +0000
+++ b/newgrf.c	Mon May 01 16:52:43 2006 +0000
@@ -43,7 +43,7 @@
 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;
 
--- a/newgrf.h	Mon May 01 14:30:24 2006 +0000
+++ b/newgrf.h	Mon May 01 16:52:43 2006 +0000
@@ -33,7 +33,7 @@
 	 * 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;