aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/bladerunner/scene_objects.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/engines/bladerunner/scene_objects.cpp b/engines/bladerunner/scene_objects.cpp
index 6857416197..30802a8d64 100644
--- a/engines/bladerunner/scene_objects.cpp
+++ b/engines/bladerunner/scene_objects.cpp
@@ -36,9 +36,7 @@ SceneObjects::SceneObjects(BladeRunnerEngine *vm, View *view) {
_count = 0;
- for (int i = 0; i < kSceneObjectCount; ++i) {
- _sceneObjectsSortedByDistance[i] = -1;
- }
+ clear();
}
SceneObjects::~SceneObjects() {