mirror of
https://github.com/1dot13/source.git
synced 2026-09-09 14:46:05 +02:00
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:
@@ -6436,7 +6436,11 @@ void KeyRingItemPanelButtonCallback( MOUSE_REGION * pRegion, INT32 iReason )
|
|||||||
InvalidateRegion( 0, 107, 261, 359 );
|
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 )
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user