mirror of
https://github.com/1dot13/source.git
synced 2026-07-29 13:52:17 +02:00
- bugfix: Endless clock after stealing
- changed: APs for stealing from 10 to 14 (because stealing is more than simple picking enemies gun) - changed: You cannot steal items from head, body, leg or face until the enemy is collapsed (lying on the ground) git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@631 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -6960,6 +6960,8 @@ void ItemPickupOK( GUI_BUTTON *btn, INT32 reason )
|
||||
DeletePool(gItemPickupMenu.pItemPool);
|
||||
if ((gpOpponent->inv[HANDPOS].usItem == NOTHING ) && (usLastItem!=NOTHING))
|
||||
ReLoadSoldierAnimationDueToHandItemChange( gpOpponent, usLastItem, NOTHING );
|
||||
|
||||
PreventFromTheFreezingBug(gItemPickupMenu.pSoldier);
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -6992,6 +6994,8 @@ void ItemPickupCancel( GUI_BUTTON *btn, INT32 reason )
|
||||
if (gfStealing) //jackaians modif
|
||||
{
|
||||
DeletePool(gItemPickupMenu.pItemPool);
|
||||
|
||||
PreventFromTheFreezingBug(gItemPickupMenu.pSoldier);
|
||||
}
|
||||
}
|
||||
else if(reason & MSYS_CALLBACK_REASON_LOST_MOUSE )
|
||||
|
||||
Reference in New Issue
Block a user