diff options
author | Paul Gilbert | 2019-08-14 18:44:09 -0700 |
---|---|---|
committer | Paul Gilbert | 2019-08-16 18:26:27 -0700 |
commit | 5c5814d544220d5539691a87fa764e354a610e88 (patch) | |
tree | 16f75c98f301a56dfc0e9637b14b049ae736a179 | |
parent | 43af0a3bb0d422135dc17fca7645f028dd69181c (diff) | |
download | scummvm-rg350-5c5814d544220d5539691a87fa764e354a610e88.tar.gz scummvm-rg350-5c5814d544220d5539691a87fa764e354a610e88.tar.bz2 scummvm-rg350-5c5814d544220d5539691a87fa764e354a610e88.zip |
GLK: FROTZ: Only call Glk move cursor for Glk text grid windows
-rw-r--r-- | engines/glk/frotz/windows.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/glk/frotz/windows.cpp b/engines/glk/frotz/windows.cpp index 9f7e6917b4..738bb43e2d 100644 --- a/engines/glk/frotz/windows.cpp +++ b/engines/glk/frotz/windows.cpp @@ -211,7 +211,8 @@ void Window::setCursor(const Point &newPos) { } void Window::setCursor() { - g_vm->glk_window_move_cursor(_win, _properties[X_CURSOR] - 1, _properties[Y_CURSOR] - 1); + if (dynamic_cast<TextGridWindow *>(_win)) + g_vm->glk_window_move_cursor(_win, _properties[X_CURSOR] - 1, _properties[Y_CURSOR] - 1); } void Window::clear() { |