Fixed bug, where scope mode icons were lost after exiting EDB.

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@9318 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
Shadooow
2022-03-10 19:29:06 +00:00
parent 0d5c1be5d4
commit 1b63f1da01
+5 -1
View File
@@ -4300,7 +4300,11 @@ void DeleteEnhancedDescBox( UINT32 guiCurrentItemDescriptionScreen )
DeleteVideoObjectFromIndex( guiItemInfoExplosiveIcon );
// HEADROCK HAM 4: Delete new icons
DeleteVideoObjectFromIndex( guiItemInfoSecondaryIcon );
DeleteVideoObjectFromIndex( guiItemInfoAdvancedIcon );
if (guiItemInfoAdvancedIcon != 0)
{
DeleteVideoObjectFromIndex(guiItemInfoAdvancedIcon);
guiItemInfoAdvancedIcon = 0;
}
DeleteVideoObjectFromIndex( guiItemInfoWH40KIcon );
if ( UsingEDBSystem() > 0 )