mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
Fixed a bug that would cause a freeze while in OldInv mode at the very start of the game if you didn't open the tactical inventory panel before trying to open the strategic inventory panel.
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@1977 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -7629,13 +7629,14 @@ void BltCharInvPanel()
|
||||
{
|
||||
InitializeInvPanelCoordsNew();
|
||||
// This function sets the mouse regions for the soldier inventory
|
||||
InitInventorySoldier(gMapScreenInvPocketXY, MAPInvMoveCallback, MAPInvClickCallback, FALSE);
|
||||
InitInventorySoldier(gMapScreenInvPocketXY, MAPInvMoveCallback, MAPInvClickCallback, FALSE, TRUE);
|
||||
fResetMapCoords=FALSE;
|
||||
}
|
||||
disOpt = 1;
|
||||
}
|
||||
else
|
||||
{
|
||||
InitInventorySoldier(gMapScreenInvPocketXY, MAPInvMoveCallback, MAPInvClickCallback, FALSE, FALSE);
|
||||
//InitializeInvPanelCoordsOld();
|
||||
}
|
||||
Blt8BPPDataTo16BPPBufferTransparent( pDestBuf, uiDestPitchBYTES, hCharListHandle, PLAYER_INFO_X, PLAYER_INFO_Y, disOpt);
|
||||
|
||||
Reference in New Issue
Block a user