(svn r7563) -Fix (FS#468): removing towns in the scenario editor could leave subsidies with that town as source/destination, resulting in an assertion when displaying the Subsidies Window.
This commit is contained in:
@@ -79,6 +79,7 @@ void DestroyTown(Town *t)
|
||||
}
|
||||
|
||||
DeleteName(t->townnametype);
|
||||
DeleteSubsidyWithTown(t->index);
|
||||
|
||||
MarkWholeScreenDirty();
|
||||
}
|
||||
|
Reference in New Issue
Block a user