diff --git a/engines/toltecs/segmap.cpp b/engines/toltecs/segmap.cpp index 399a044d5da..bd54a8dae52 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; }