(svn r9315) -Merge: The newhouses branch. With this merge comes almost complete support for

the newhouses grf specs, so all newhouses grfs will be playable in the game.

Many thanks to everyone who contributed code and ideas, and all the testers
who found things we missed.
This commit is contained in:
maedhros
2007-03-19 11:27:30 +00:00
parent 3d3d8d7c47
commit 209101391a
28 changed files with 3049 additions and 1269 deletions

View File

@@ -8,6 +8,7 @@
#include "newgrf_callbacks.h"
#include "newgrf_spritegroup.h"
#include "date.h"
#include "sprite.h"
static void SpriteGroupPoolCleanBlock(uint start_item, uint end_item);
@@ -33,6 +34,11 @@ static void DestroySpriteGroup(SpriteGroup *group)
free((SpriteGroup**)group->g.random.groups);
break;
case SGT_TILELAYOUT:
free((void*)group->g.layout.dts->seq);
free(group->g.layout.dts);
break;
default:
break;
}