diff options
Diffstat (limited to 'engines/fullpipe/scenes/scene22.cpp')
-rw-r--r-- | engines/fullpipe/scenes/scene22.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/fullpipe/scenes/scene22.cpp b/engines/fullpipe/scenes/scene22.cpp index 5b9b091f36..f71460576f 100644 --- a/engines/fullpipe/scenes/scene22.cpp +++ b/engines/fullpipe/scenes/scene22.cpp @@ -218,7 +218,7 @@ void sceneHandler22_stoolLogic(ExCommand *cmd) { ani = g_fp->_currentScene->getStaticANIObject1ById(ANI_TABURETTE, -1); if (ani && (ani->_flags & 4)) { int x = g_fp->_aniMan->_ox; - int y = g_fp->_aniMan->_ox; + int y = g_fp->_aniMan->_oy; if (sqrt((double)((841 - x) * (841 - x) + (449 - y) * (449 - y))) < sqrt((double)((1075 - x) * (1075 - x) + (449 - y) * (449 - y)))) { |