aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorEugene Sandulenko2009-06-06 17:45:06 +0000
committerEugene Sandulenko2009-06-06 17:45:06 +0000
commit2113060c43c4975f0c2960d32b3e580ae86bb7ec (patch)
treeab0d1bc433a8c2d79744fe5553e1ecb22c8f6dae /engines
parent72d25455e050223b4dbd8fa5a5fa4e5326c7c055 (diff)
downloadscummvm-rg350-2113060c43c4975f0c2960d32b3e580ae86bb7ec.tar.gz
scummvm-rg350-2113060c43c4975f0c2960d32b3e580ae86bb7ec.tar.bz2
scummvm-rg350-2113060c43c4975f0c2960d32b3e580ae86bb7ec.zip
Implement cancel.line. Consider obj.status.f implemented
svn-id: r41253
Diffstat (limited to 'engines')
-rw-r--r--engines/agi/op_cmd.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/engines/agi/op_cmd.cpp b/engines/agi/op_cmd.cpp
index 364a999509..ed3d4dc07c 100644
--- a/engines/agi/op_cmd.cpp
+++ b/engines/agi/op_cmd.cpp
@@ -521,7 +521,8 @@ cmd(script_size) {
}
cmd(cancel_line) {
- report("cancel.line\n");
+ g_agi->_game.inputBuffer[0] = 0;
+ g_agi->writePrompt();
}
// This implementation is based on observations of Amiga's Gold Rush.
@@ -535,8 +536,6 @@ cmd(cancel_line) {
// 471 (When walking on the first screen's bridge),
// 71 (When walking around, using the mouse or the keyboard).
cmd(obj_status_f) {
- report("obj.status.f\n");
-
const char *cycleDesc; // Object's cycle description line
const char *motionDesc; // Object's motion description line
char msg[256]; // The whole object status message