aboutsummaryrefslogtreecommitdiff
path: root/engines/cge2/cge2_main.cpp
diff options
context:
space:
mode:
authorStrangerke2014-08-02 19:05:30 +0200
committerStrangerke2014-08-02 19:05:30 +0200
commit3376ab4f622c0ff1998bfe792efa9e030783b047 (patch)
treecbe5729b9caba8d6a8f1ec69b15b6c21606d60c7 /engines/cge2/cge2_main.cpp
parent0eb7e52490b3b7c66f68e65d65a9880fa7e13492 (diff)
downloadscummvm-rg350-3376ab4f622c0ff1998bfe792efa9e030783b047.tar.gz
scummvm-rg350-3376ab4f622c0ff1998bfe792efa9e030783b047.tar.bz2
scummvm-rg350-3376ab4f622c0ff1998bfe792efa9e030783b047.zip
CGE2: Update the comment about another non-fixable workaround
Diffstat (limited to 'engines/cge2/cge2_main.cpp')
-rw-r--r--engines/cge2/cge2_main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/cge2/cge2_main.cpp b/engines/cge2/cge2_main.cpp
index f3dad8bdec..6a6066e10d 100644
--- a/engines/cge2/cge2_main.cpp
+++ b/engines/cge2/cge2_main.cpp
@@ -890,7 +890,7 @@ void Sprite::touch(uint16 mask, V2D pos, Common::KeyCode keyCode) {
} else { // sprite NOT in pocket
Hero *h = _vm->_heroTab[_vm->_sex]->_ptr;
if (!_vm->_talk) {
- // HACK: the "+3" is a ugly hack used to compensate a pathfinding issue. To be fixed!!
+ // the "+3" is a hack used to work around a script issue in scene 5
if ((_ref & 0xFF) < 200 && h->distance(this) > (h->_maxDist << 1) + 3)
h->walkTo(this);
else if (_vm->_sys->_blinkSprite) {