aboutsummaryrefslogtreecommitdiff
path: root/engines/cge/vmenu.cpp
diff options
context:
space:
mode:
authorStrangerke2011-09-17 23:03:37 +0200
committerStrangerke2011-09-17 23:04:12 +0200
commit17802f8903d82cd703cc1ede8d2b91291826248e (patch)
treec0b1a0883b9fb4600fea8ca64637900b96de8a31 /engines/cge/vmenu.cpp
parentf8ee4f385f38a734fb9a872e79ed415cec21c7ff (diff)
downloadscummvm-rg350-17802f8903d82cd703cc1ede8d2b91291826248e.tar.gz
scummvm-rg350-17802f8903d82cd703cc1ede8d2b91291826248e.tar.bz2
scummvm-rg350-17802f8903d82cd703cc1ede8d2b91291826248e.zip
CGE: Fix a potential bug in insertCommand(), some renaming
Diffstat (limited to 'engines/cge/vmenu.cpp')
-rw-r--r--engines/cge/vmenu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/cge/vmenu.cpp b/engines/cge/vmenu.cpp
index 76d6850174..2303d0fafa 100644
--- a/engines/cge/vmenu.cpp
+++ b/engines/cge/vmenu.cpp
@@ -112,7 +112,7 @@ void Vmenu::touch(uint16 mask, int x, int y) {
if (ok && (mask & kMouseLeftUp)) {
_items = 0;
- _vm->_snail_->addCom(kSnKill, -1, 0, this);
+ _vm->_snail_->addCommand(kSnKill, -1, 0, this);
_recent = n;
assert(_menu[n].Proc);
CALL_MEMBER_FN(*_vm, _menu[n].Proc)();