aboutsummaryrefslogtreecommitdiff
path: root/simon/simon.cpp
diff options
context:
space:
mode:
authorTravis Howell2005-11-18 14:15:03 +0000
committerTravis Howell2005-11-18 14:15:03 +0000
commit8ec6ed9d968ed44a4b2a67ac6652c60f31c6492f (patch)
treed338a89c20c707957334bf10337039f1269bbd49 /simon/simon.cpp
parent95a45fc7a05430e0952d5dc8e61a091bb10494ed (diff)
downloadscummvm-rg350-8ec6ed9d968ed44a4b2a67ac6652c60f31c6492f.tar.gz
scummvm-rg350-8ec6ed9d968ed44a4b2a67ac6652c60f31c6492f.tar.bz2
scummvm-rg350-8ec6ed9d968ed44a4b2a67ac6652c60f31c6492f.zip
Updates to FF path finding.
svn-id: r19641
Diffstat (limited to 'simon/simon.cpp')
-rw-r--r--simon/simon.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/simon/simon.cpp b/simon/simon.cpp
index 90c5f30520..485a83e48b 100644
--- a/simon/simon.cpp
+++ b/simon/simon.cpp
@@ -468,6 +468,14 @@ SimonEngine::SimonEngine(GameDetector *detector, OSystem *syst)
memset(_pathFindArray, 0, sizeof(_pathFindArray));
+ memset(_pathValues, 0, sizeof(_pathValues));
+ _PVCount = 0;
+ _GPVCount = 0;
+
+ memset(_pathValues1, 0, sizeof(_pathValues1));
+ _PVCount1 = 0;
+ _GPVCount1 = 0;
+
memset(_paletteBackup, 0, sizeof(_paletteBackup));
memset(_palette, 0, sizeof(_palette));