mirror of
https://github.com/1dot13/source.git
synced 2026-08-05 14:00:23 +02:00
Disable inventory popups for vehicles, as they don't need equipment and huge inventories result in display errors
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8464 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -9714,7 +9714,7 @@ void MAPInvClickCallback( MOUSE_REGION *pRegion, INT32 iReason )
|
||||
|
||||
if ( pSoldier->inv[ uiHandPos ].exists() == false )
|
||||
{
|
||||
if (gGameSettings.fOptions[ TOPTION_ENABLE_INVENTORY_POPUPS ] == TRUE) // the_bob : enable popups for picking items from sector inv
|
||||
if ( gGameSettings.fOptions[TOPTION_ENABLE_INVENTORY_POPUPS] == TRUE && !IsVehicle( pSoldier ) ) // the_bob : enable popups for picking items from sector inv
|
||||
{
|
||||
if ( _KeyDown(CTRL) )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user