mirror of
https://github.com/1dot13/source.git
synced 2026-07-29 13:52:17 +02:00
Removed body inventory region in mapscreen for vehicles completely. There was no image rendered anyway, this way no popup message duplicating status will be shown and consumables won't popup the "Heh?" error either.
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@9290 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -9400,7 +9400,15 @@ void CreateDestroyMapInvButton()
|
||||
else
|
||||
InitializeInvPanelCoordsOld();
|
||||
|
||||
InitInvSlotInterface( gMapScreenInvPocketXY, &gSCamoXY, MAPInvMoveCallback, MAPInvClickCallback, MAPInvMoveCamoCallback, MAPInvClickCamoCallback, FALSE );
|
||||
if (bSelectedInfoChar != -1 && gCharactersList[bSelectedInfoChar].fValid)
|
||||
{
|
||||
SOLDIERTYPE* pSoldier = MercPtrs[gCharactersList[bSelectedInfoChar].usSolID];
|
||||
if (!(pSoldier->flags.uiStatusFlags & SOLDIER_VEHICLE))
|
||||
{
|
||||
InitInvSlotInterface(gMapScreenInvPocketXY, &gSCamoXY, MAPInvMoveCallback, MAPInvClickCallback, MAPInvMoveCamoCallback, MAPInvClickCamoCallback, FALSE);
|
||||
}
|
||||
}
|
||||
|
||||
MSYS_EnableRegion(&gMPanelRegion);
|
||||
MSYS_EnableRegion(&gMapMercWeightRegion);
|
||||
MSYS_EnableRegion(&gMapMercCamoRegion);
|
||||
|
||||
Reference in New Issue
Block a user