Skip to content

Commit

Permalink
Fix logic error
Browse files Browse the repository at this point in the history
  • Loading branch information
CrystalMoogle committed Apr 7, 2015
1 parent 07a9229 commit 31191df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libraries/PokemonInfo/pokemonstructs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1129,7 +1129,7 @@ bool Team::importFromTxt(const QString &file1, bool hack)
}

/* Checks if hackmons are valid, if yes, fix them up in the checker */
p.runCheck(!hack || p.isLegal());
p.runCheck(hack && !p.isLegal());
}
return true;
/*
Expand Down

0 comments on commit 31191df

Please sign in to comment.