Corrected a display problem with the KeyRing popup when playing in OIV mode.

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@2239 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
ChrisL
2008-07-11 16:49:12 +00:00
parent a2c73aab6d
commit 6438f9164d
+6 -1
View File
@@ -6436,7 +6436,11 @@ void KeyRingItemPanelButtonCallback( MOUSE_REGION * pRegion, INT32 iReason )
InvalidateRegion( 0, 107, 261, 359 );
}
InitKeyRingPopup( pSoldier, 35, sStartYPosition, sWidth, sHeight );
//CHRISL: In OIV mode, we don't want to offset the keyring popup.
if(UsingNewInventorySystem() == false)
InitKeyRingPopup( pSoldier, 0, sStartYPosition, sWidth, sHeight );
else
InitKeyRingPopup( pSoldier, 35, sStartYPosition, sWidth, sHeight );
}
}
@@ -7019,3 +7023,4 @@ void GoToMapScreenFromTactical( void )