Skip to content

Commit

Permalink
Fixed m_acted having the wrong value when a Pokemon uses a move to sw…
Browse files Browse the repository at this point in the history
…itch out.
  • Loading branch information
cathyjf committed Oct 5, 2010
1 parent 007366f commit 29e45b9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/shoddybattle/Pokemon.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,7 @@ bool Pokemon::vetoExecution(Pokemon *user, Pokemon *target, MoveObject *move) {
* Send this pokemon out onto the field.
*/
void Pokemon::switchIn() {
m_acted = false;
// Inform status effects of switching in.
for (STATUSES::const_iterator i = m_effects.begin();
i != m_effects.end(); ++i) {
Expand Down

0 comments on commit 29e45b9

Please sign in to comment.