Fixes (by Buggler)

- fixed autoplace object getting lost from merc inventory to sector when another sector shown (CTRL+LMB) 
- fixed LBE autoplace from merc inventory
- fixed CTRL/CTRL+SHIFT behavior when autoplace from merc inv
** Autoplace objects to & from between merc inv & map sector should work proper now (even in another sector inventory)
- fixed missing balance & amount during money withdrawal in vanilla classic

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@5781 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
Wanne
2013-01-13 17:48:12 +00:00
parent f914a1da77
commit a10e216c5f
3 changed files with 27 additions and 20 deletions
+5 -3
View File
@@ -6775,10 +6775,12 @@ BOOLEAN AutoPlaceObjectToWorld(SOLDIERTYPE * pSoldier, OBJECTTYPE * pObj, INT8 b
}
// WANNE: This should fix the bug, that items get lost in the sector when switching between tactical sectors
// This bug was introduced in revision 4571 (2011-07-14)
// This bug was introduced in revision 4571 (2011-07-14), fixed in 5228
// Buggler: Previously item get lost when holding CTRL & clicking on item in merc inventory when map screen shows other sectors
// Fixed above issue on commit in 5781 (2013-01-13). Please remove all comments if no reported issue after adequate public testing
//if(!fShowMapInventoryPool)
if(fShowMapInventoryPool)
if(!fShowMapInventoryPool)
//if(fShowMapInventoryPool) // Buggler: to remove too
{
fShowMapInventoryPool = TRUE;
CreateDestroyMapInventoryPoolButtons(FALSE);