aboutsummaryrefslogtreecommitdiff
path: root/engines/xeen/screen.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2015-01-24 23:12:30 -0500
committerPaul Gilbert2015-01-24 23:12:30 -0500
commitb695934a1e5a62aa854bfc02bb4f10f562efe62b (patch)
tree6a242087aae6d1e967d5fb9d406dfdbf140c2e8c /engines/xeen/screen.cpp
parent2a9c00cb963b00f8255e95684d78dfe01c943fc5 (diff)
downloadscummvm-rg350-b695934a1e5a62aa854bfc02bb4f10f562efe62b.tar.gz
scummvm-rg350-b695934a1e5a62aa854bfc02bb4f10f562efe62b.tar.bz2
scummvm-rg350-b695934a1e5a62aa854bfc02bb4f10f562efe62b.zip
XEEN: Implemented cmdTeleport opcode
Diffstat (limited to 'engines/xeen/screen.cpp')
-rw-r--r--engines/xeen/screen.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/engines/xeen/screen.cpp b/engines/xeen/screen.cpp
index 16e4955cde..4eabc2b60a 100644
--- a/engines/xeen/screen.cpp
+++ b/engines/xeen/screen.cpp
@@ -180,9 +180,7 @@ void Window::drawList(DrawStruct *items, int count) {
/**
* Allows the user to enter a string
*/
-int Window::getString(Common::String &line, int maxLen, int maxWidth) {
- Interface &intf = *_vm->_interface;
-
+int Window::getString(Common::String &line, uint maxLen, int maxWidth) {
_vm->_noDirectionSense = true;
Common::String msg = Common::String::format("\x03""l\t000\x04%03d\x03""c", maxWidth);
writeString(msg);