aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/scene.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2015-05-18 19:37:54 -0400
committerPaul Gilbert2015-05-18 19:37:54 -0400
commitb760c7d360d206d39391875e26271098c63acdd3 (patch)
treeb63b02bf7c77d63403c60f5267285abaa7009d9d /engines/sherlock/scene.cpp
parent59993fdc74afad7b210da7849f8ce25631153201 (diff)
downloadscummvm-rg350-b760c7d360d206d39391875e26271098c63acdd3.tar.gz
scummvm-rg350-b760c7d360d206d39391875e26271098c63acdd3.tar.bz2
scummvm-rg350-b760c7d360d206d39391875e26271098c63acdd3.zip
SHERLOCK: More replacing numbers with constants
Diffstat (limited to 'engines/sherlock/scene.cpp')
-rw-r--r--engines/sherlock/scene.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sherlock/scene.cpp b/engines/sherlock/scene.cpp
index b092bbce65..78858bc284 100644
--- a/engines/sherlock/scene.cpp
+++ b/engines/sherlock/scene.cpp
@@ -1364,7 +1364,7 @@ void Scene::doBgAnim() {
_animating = 0;
screen.slamRect(Common::Rect(0, 0, SHERLOCK_SCREEN_WIDTH, SHERLOCK_SCENE_HEIGHT));
} else {
- if (people[AL]._type != INVALID && ((_goToScene == -1 || _canimShapes.size() == 0))) {
+ if (people[AL]._type != INVALID && ((_goToScene == -1 || _canimShapes.empty()))) {
if (people[AL]._type == REMOVE) {
screen.slamRect(Common::Rect(
people[AL]._oldPosition.x, people[AL]._oldPosition.y,