aboutsummaryrefslogtreecommitdiff
path: root/engines/agi
diff options
context:
space:
mode:
authorEugene Sandulenko2009-06-06 17:46:38 +0000
committerEugene Sandulenko2009-06-06 17:46:38 +0000
commit9ff714a2dbe951f7866614806fc9d5e217afb2df (patch)
tree15efe8036eff2197da29a99132cb7bea2d2233a4 /engines/agi
parentc393144b19dc5bd5e7e1c4d28ab56bc0b0affa38 (diff)
downloadscummvm-rg350-9ff714a2dbe951f7866614806fc9d5e217afb2df.tar.gz
scummvm-rg350-9ff714a2dbe951f7866614806fc9d5e217afb2df.tar.bz2
scummvm-rg350-9ff714a2dbe951f7866614806fc9d5e217afb2df.zip
Implement allow.menu opcode
svn-id: r41256
Diffstat (limited to 'engines/agi')
-rw-r--r--engines/agi/op_cmd.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/agi/op_cmd.cpp b/engines/agi/op_cmd.cpp
index 826caff60c..eccd96142d 100644
--- a/engines/agi/op_cmd.cpp
+++ b/engines/agi/op_cmd.cpp
@@ -661,7 +661,9 @@ cmd(hide_mouse) {
}
cmd(allow_menu) {
- report("allow.menu\n");
+ if (g_agi->getVersion() >= 0x3098) {
+ g_agi->setflag(fMenusWork, ((p0 != 0) ? true : false));
+ }
}
cmd(show_mouse) {