mirror of
https://github.com/1dot13/source.git
synced 2026-08-05 14:00:23 +02:00
Fixed a CTD that occurs when closing sector inventory while the item description window is open.
Added a new ALLOW_SECTOR_DESCRIPTION_WINDOW flag to the ja2_options.ini that allows players to turn off the stack popup and item description functionality for the sector inventory panel. git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@2063 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -6563,6 +6563,10 @@ void DeleteItemStackPopup( )
|
||||
{
|
||||
INT32 cnt;
|
||||
|
||||
//CHRISL: if neither item or sector stack popups are open, just return.
|
||||
if(!gfInItemStackPopup && !gfInSectorStackPopup)
|
||||
return;
|
||||
|
||||
//Remove
|
||||
DeleteVideoObjectFromIndex( guiItemPopupBoxes );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user