Skip to content

Commit

Permalink
WAGE: Made code cleaner
Browse files Browse the repository at this point in the history
  • Loading branch information
sev- committed Feb 14, 2016
1 parent c72c92a commit 82fff0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engines/wage/combat.cpp
Expand Up @@ -464,7 +464,7 @@ int WageEngine::getValidMoveDirections(Chr *npc) {

Scene *scene = _world->getSceneAt(destX, destY);

if (scene != NULL && scene->_chrs.size() == 0) {
if (scene != NULL && scene->_chrs.empty()) {
directions |= (1 << dir);
}
}
Expand Down

0 comments on commit 82fff0a

Please sign in to comment.