(svn r4650) - NewGRF: use the correct type for _cur_spriteid
authorpeter1138
Mon, 01 May 2006 16:52:43 +0000
changeset 3707 2999a89e8abd
parent 3706 cb930b393f75
child 3708 1c548218151c
(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;