diff options
author | Strangerke | 2013-10-31 08:25:19 +0100 |
---|---|---|
committer | Strangerke | 2013-10-31 08:25:19 +0100 |
commit | 40c6569940e26fb6c020c54947e45614bfa0d7e9 (patch) | |
tree | eb894ead28a27cda9ebcb6b4cec0b67dde9dfed3 /engines/hugo/route.h | |
parent | ba50475dfaa812f34da87c76e95672a8e6cc8702 (diff) | |
download | scummvm-rg350-40c6569940e26fb6c020c54947e45614bfa0d7e9.tar.gz scummvm-rg350-40c6569940e26fb6c020c54947e45614bfa0d7e9.tar.bz2 scummvm-rg350-40c6569940e26fb6c020c54947e45614bfa0d7e9.zip |
HUGO: Fix CID 1003560, 1002882
Diffstat (limited to 'engines/hugo/route.h')
-rw-r--r-- | engines/hugo/route.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/hugo/route.h b/engines/hugo/route.h index 716829a201..71db1e2583 100644 --- a/engines/hugo/route.h +++ b/engines/hugo/route.h @@ -79,9 +79,11 @@ private: int16 _destY; int16 _heroWidth; // Hero width bool _routeFoundFl; // TRUE when path found - bool _fullStackFl; // TRUE if stack exhausted bool _fullSegmentFl; // Segments exhausted + // CHECKME: Never set to true, could be removed + bool _fullStackFl; // TRUE if stack exhausted + void segment(int16 x, int16 y); bool findRoute(const int16 cx, const int16 cy); Common::Point *newNode(); |