diff options
author | Eugene Sandulenko | 2016-05-30 13:58:43 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2016-05-30 19:32:49 +0200 |
commit | 0b240ff4a09d2966a181f4368a4a881398bfe379 (patch) | |
tree | 23b3ecc26aac81113b1bbccdc666fad9264d46da /engines/scumm/he/moonbase/ai_traveller.cpp | |
parent | c8f28986e59b9f7bacd46f4928a3575df8bbd40d (diff) | |
download | scummvm-rg350-0b240ff4a09d2966a181f4368a4a881398bfe379.tar.gz scummvm-rg350-0b240ff4a09d2966a181f4368a4a881398bfe379.tar.bz2 scummvm-rg350-0b240ff4a09d2966a181f4368a4a881398bfe379.zip |
SCUMM HE: Fixed initialization in Moonbase AI
Diffstat (limited to 'engines/scumm/he/moonbase/ai_traveller.cpp')
-rw-r--r-- | engines/scumm/he/moonbase/ai_traveller.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/scumm/he/moonbase/ai_traveller.cpp b/engines/scumm/he/moonbase/ai_traveller.cpp index b1c9985b9d..d6eea67b41 100644 --- a/engines/scumm/he/moonbase/ai_traveller.cpp +++ b/engines/scumm/he/moonbase/ai_traveller.cpp @@ -46,6 +46,8 @@ Traveller::Traveller(AI *ai) : _ai(ai) { _waterSourceY = 0; _waterDestX = 0; _waterDestY = 0; + + _posX = _posY = 0; } Traveller::Traveller(int originX, int originY, AI *ai) : _ai(ai) { |