Skip to content

Commit

Permalink
* fixes sugested by ennorehling issue: 11 (Atlantis-PBEM#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
Loriaki committed Nov 15, 2015
1 parent 9e90ec2 commit c76e05f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion parseorders.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1024,7 +1024,7 @@ void Game::ProcessPrepareOrder(Unit *u, AString *o, OrdersCheck *pCheck)
return;
}

if (bt == NULL || !bt->flags & BattleItemType::SPECIAL) {
if (bt == NULL || !(bt->flags & BattleItemType::SPECIAL)) {
u->Error("PREPARE: That item cannot be prepared.");
return;
}
Expand Down

0 comments on commit c76e05f

Please sign in to comment.