(svn r1288) -Codechange: changed _map2 to an uint16. It is still saved and loaded as
an uint8 till the savegame version is bumped to version 5. Then it works automaticly as a fully uint16. So _stations[] can not be increased till after the bump!!
This commit is contained in:
@@ -63,7 +63,7 @@ static void DrawTile_Town(TileInfo *ti)
|
||||
/* Retrieve pointer to the draw town tile struct */
|
||||
{
|
||||
/* this "randomizes" on the (up to) 4 variants of a building */
|
||||
byte gfx = _map2[ti->tile];
|
||||
byte gfx = (byte)_map2[ti->tile];
|
||||
byte stage = _map3_lo[ti->tile] >> 6;
|
||||
uint variant;
|
||||
variant = ti->x >> 4;
|
||||
|
Reference in New Issue
Block a user