diff options
author | Travis Howell | 2005-11-18 14:15:03 +0000 |
---|---|---|
committer | Travis Howell | 2005-11-18 14:15:03 +0000 |
commit | 8ec6ed9d968ed44a4b2a67ac6652c60f31c6492f (patch) | |
tree | d338a89c20c707957334bf10337039f1269bbd49 /simon/simon.cpp | |
parent | 95a45fc7a05430e0952d5dc8e61a091bb10494ed (diff) | |
download | scummvm-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.cpp | 8 |
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)); |