(svn r11797) -Fix: Add protection against not already created industry while doing industry callback.

Some variables used were linked to invalid industry.
This commit is contained in:
belugas
2008-01-09 18:14:29 +00:00
parent 785572ea32
commit f67b5798a0
2 changed files with 24 additions and 6 deletions

View File

@@ -231,6 +231,7 @@ struct ResolverObject {
TileIndex tile;
Industry *ind;
IndustryGfx gfx;
IndustryType type;
} industry;
struct {
const struct CargoSpec *cs;