Mercurial > mm7
comparison 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 |
comparison
equal
deleted
inserted
replaced
1819:1641ab7f21ec | 1820:af7f08135ffb |
---|---|
1018 else if ( player_choose == 5 )//all | 1018 else if ( player_choose == 5 )//all |
1019 { | 1019 { |
1020 v130 = 0; | 1020 v130 = 0; |
1021 for(int i = 1; i < 5; ++i) | 1021 for(int i = 1; i < 5; ++i) |
1022 { | 1022 { |
1023 if ( pPlayers[i]->SubtractVariable((enum VariableType)EVT_WORD(_evt->v5), pValue) ) | 1023 pPlayers[i]->SubtractVariable((enum VariableType)EVT_WORD(_evt->v5), pValue); |
1024 break; | |
1025 } | 1024 } |
1026 ++v130; | 1025 ++v130; |
1027 } | 1026 } |
1028 else if ( player_choose == 6 ) //random | 1027 else if ( player_choose == 6 ) //random |
1029 { | 1028 { |