aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2016-02-09 09:46:55 +0100
committerEugene Sandulenko2016-02-14 17:13:04 +0100
commit82fff0ab865b20a8aaa36fcfe3523c51b764cffb (patch)
tree2d4283f78ace5fb92f5dd3adc942b78fe3a5b2fa
parentc72c92a3ef5cb58878ea0ae156a6fc6855eb7fff (diff)
downloadscummvm-rg350-82fff0ab865b20a8aaa36fcfe3523c51b764cffb.tar.gz
scummvm-rg350-82fff0ab865b20a8aaa36fcfe3523c51b764cffb.tar.bz2
scummvm-rg350-82fff0ab865b20a8aaa36fcfe3523c51b764cffb.zip
WAGE: Made code cleaner
-rw-r--r--engines/wage/combat.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/wage/combat.cpp b/engines/wage/combat.cpp
index 91c65cfd88..b6963248b9 100644
--- a/engines/wage/combat.cpp
+++ b/engines/wage/combat.cpp
@@ -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);
}
}