From 49ca74848f2583670b1315e4a93e9498b52591b3 Mon Sep 17 00:00:00 2001 From: Flugente Date: Mon, 28 Aug 2017 22:33:26 +0000 Subject: [PATCH] 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 --- Strategic/mapscreen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Strategic/mapscreen.cpp b/Strategic/mapscreen.cpp index 9fc92aa7a..c80ae7318 100644 --- a/Strategic/mapscreen.cpp +++ b/Strategic/mapscreen.cpp @@ -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) ) {