Fixes (by Moa)

- Hitting CTRL + V in Debug Build now writes all the data into file SGPVideoDump.txt (This can show instances of not removed objects ...)
- Fixed guiMAPINV was not disposed

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@6525 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
Wanne
2013-10-23 06:50:02 +00:00
parent 68add1a794
commit f1f2985dc0
2 changed files with 6 additions and 3 deletions
+2 -2
View File
@@ -4868,9 +4868,9 @@ UINT32 MapScreenHandle(void)
if(!AddVideoObject(&VObjectDesc, &guiMAPINV))
{
FilenameForBPP("INTERFACE\\mapinv.sti", VObjectDesc.ImageFile);
FilenameForBPP("INTERFACE\\mapinv.sti", VObjectDesc.ImageFile);
CHECKF(AddVideoObject(&VObjectDesc, &guiMAPINV));
}
CHECKF(AddVideoObject(&VObjectDesc, &guiMAPINV));
VObjectDesc.fCreateFlags=VOBJECT_CREATE_FROMFILE;
FilenameForBPP("INTERFACE\\map_inv_2nd_gun_cover.sti", VObjectDesc.ImageFile);