diff options
author | uruk | 2014-08-13 19:54:59 +0200 |
---|---|---|
committer | uruk | 2014-08-13 19:54:59 +0200 |
commit | 277f844f0900c01839ad6dc5680110f9ea326d17 (patch) | |
tree | ddc12038cdd5a608ccb656a1e82723a6be7f9e02 | |
parent | fecabc039eb8363de4d0a36161b614527d38ebbd (diff) | |
download | scummvm-rg350-277f844f0900c01839ad6dc5680110f9ea326d17.tar.gz scummvm-rg350-277f844f0900c01839ad6dc5680110f9ea326d17.tar.bz2 scummvm-rg350-277f844f0900c01839ad6dc5680110f9ea326d17.zip |
CGE2: Initialize _maxDist in Hero's constructor.
-rw-r--r-- | engines/cge2/hero.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/cge2/hero.cpp b/engines/cge2/hero.cpp index 945bf483bc..86bd7ac953 100644 --- a/engines/cge2/hero.cpp +++ b/engines/cge2/hero.cpp @@ -33,7 +33,7 @@ namespace CGE2 { Hero::Hero(CGE2Engine *vm) : Sprite(vm), _contact(nullptr), _dir(kNoDir), - _curDim(0), _tracePtr(-1), _ignoreMap(false) { + _curDim(0), _tracePtr(-1), _ignoreMap(false), _maxDist(0) { for (int i = 0; i < kDimMax; i++) { _dim[i] = nullptr; |