comparison Player.cpp @ 1825:23deb6b09c8c

cancelEventProcessing to dword_5B65C4_cancelEventProcessing
author Grumpy7
date Wed, 09 Oct 2013 08:39:49 +0200
parents 5f9eeb7bf8e6
children bdac32c645c5
comparison
equal deleted inserted replaced
1824:6788e58c1715 1825:23deb6b09c8c
6662 } 6662 }
6663 return; 6663 return;
6664 case VAR_FixedGold: 6664 case VAR_FixedGold:
6665 if ( (unsigned int)pValue > pParty->uNumGold ) 6665 if ( (unsigned int)pValue > pParty->uNumGold )
6666 { 6666 {
6667 cancelEventProcessing = 1; 6667 dword_5B65C4_cancelEventProcessing = 1;
6668 return; 6668 return;
6669 } 6669 }
6670 Party::TakeGold((unsigned int)pValue); 6670 Party::TakeGold((unsigned int)pValue);
6671 return; 6671 return;
6672 case VAR_RandomGold: 6672 case VAR_RandomGold:
7107 { 7107 {
7108 pParty->uNumGoldInBank -= (unsigned int)pValue; 7108 pParty->uNumGoldInBank -= (unsigned int)pValue;
7109 } 7109 }
7110 else 7110 else
7111 { 7111 {
7112 cancelEventProcessing = 1; 7112 dword_5B65C4_cancelEventProcessing = 1;
7113 } 7113 }
7114 return; 7114 return;
7115 case VAR_NumDeaths: 7115 case VAR_NumDeaths:
7116 pParty->uNumDeaths -= (unsigned int)pValue; 7116 pParty->uNumDeaths -= (unsigned int)pValue;
7117 return; 7117 return;