diff options
Diffstat (limited to 'engines/wage/world.cpp')
-rw-r--r-- | engines/wage/world.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/wage/world.cpp b/engines/wage/world.cpp index ae7a0ea6f5..7e7bc33712 100644 --- a/engines/wage/world.cpp +++ b/engines/wage/world.cpp @@ -433,7 +433,7 @@ static bool objComparator(const Obj *o1, const Obj *o2) { if (o1Immobile == o2Immobile) { return o1->_index - o2->_index; } - return o1Immobile; + return o1Immobile ? -1 : 1; } void World::move(Obj *obj, Scene *scene, bool skipSort) { |