Changeset - r182:9ce09cd9a7d0
[Not reviewed]
master
0 1 0
darkvater - 20 years ago 2004-09-08 17:13:46
darkvater@openttd.org
(svn r183) -Fix: fix landscape-toolbar crash when newgrf are enabled. Dominik forgot to add +1 to index upon load :)
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
spritecache.c
Show inline comments
 
@@ -702,7 +702,7 @@ static void LoadSpriteTables()
 
		load_index += LoadGrfFile("canalsw.grf", load_index, i++);
 
		/* XXX: Only for debugging. Will be more generic. */
 

	
 
		load_index = SPR_OPENTTD_BASE + OPENTTD_SPRITES_COUNT;
 
		load_index = SPR_OPENTTD_BASE + OPENTTD_SPRITES_COUNT+1;
 

	
 
		for(j=0; j!=lengthof(_newgrf_files) && _newgrf_files[j]; j++)
 
			load_index += LoadGrfFile(_newgrf_files[j], load_index, i++);
0 comments (0 inline, 0 general)