aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorEugene Sandulenko2016-06-25 16:18:59 +0200
committerEugene Sandulenko2016-06-25 16:18:59 +0200
commit95b8e239929e85957436af5a3b743cb95fe8a0bd (patch)
tree549a27d4d1aab0c56d23c078a671ec5435e8139e /engines
parent5385b4eda7a478fce512eebf2b7710f43db54913 (diff)
downloadscummvm-rg350-95b8e239929e85957436af5a3b743cb95fe8a0bd.tar.gz
scummvm-rg350-95b8e239929e85957436af5a3b743cb95fe8a0bd.tar.bz2
scummvm-rg350-95b8e239929e85957436af5a3b743cb95fe8a0bd.zip
TOLTECS: Clear dead end rects count.
Diffstat (limited to 'engines')
-rw-r--r--engines/toltecs/segmap.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/toltecs/segmap.cpp b/engines/toltecs/segmap.cpp
index 399a044d5d..bd54a8dae5 100644
--- a/engines/toltecs/segmap.cpp
+++ b/engines/toltecs/segmap.cpp
@@ -30,6 +30,7 @@ SegmentMap::SegmentMap(ToltecsEngine *vm) : _vm(vm) {
_maskRectData = NULL;
memset(_deadEndPathRects, 0, sizeof(_closedPathRects));
_closedPathRectsCount = 0;
+ _deadEndPathRects = 0;
_pathNodesCount = 0;
}