diff Events.cpp @ 1820:af7f08135ffb

Player::SubtractVariable changing return val to void, finishing cleanup
author Grumpy7
date Tue, 08 Oct 2013 07:10:00 +0200
parents 0f1543750bf8
children 49a4db499c0a
line wrap: on
line diff
--- a/Events.cpp	Tue Oct 08 05:46:44 2013 +0200
+++ b/Events.cpp	Tue Oct 08 07:10:00 2013 +0200
@@ -1020,8 +1020,7 @@
           v130 = 0;
           for(int i = 1; i < 5; ++i)
           {
-            if ( pPlayers[i]->SubtractVariable((enum VariableType)EVT_WORD(_evt->v5), pValue) )
-              break;
+            pPlayers[i]->SubtractVariable((enum VariableType)EVT_WORD(_evt->v5), pValue);
           }
           ++v130;
         }