Fixed CTD in editor when changing detailed civ placement from wheelchair to jeep

Fixed memory corruption in detailed placement due to old-inventory behavior
Added Editor.slf to files JA2/Editor will load from
Fixed FindBestPath to not search for a path to NOWHERE


git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@1362 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
Overhaul
2007-09-14 07:27:14 +00:00
parent 2a4e963983
commit 5035e83261
7 changed files with 16 additions and 3 deletions
+4
View File
@@ -262,6 +262,10 @@ UINT32 EditScreenShutdown(void)
GameShutdownEditorMercsInfo();
RemoveAllFromUndoList();
KillClipboard();
if( gfWorldLoaded )
{
KillItemPoolList();
}
return TRUE;
}