aboutsummaryrefslogtreecommitdiff
path: root/engines/dreamweb/talk.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/dreamweb/talk.cpp')
-rw-r--r--engines/dreamweb/talk.cpp10
1 files changed, 2 insertions, 8 deletions
diff --git a/engines/dreamweb/talk.cpp b/engines/dreamweb/talk.cpp
index 9a94f0f68d..0f59cad895 100644
--- a/engines/dreamweb/talk.cpp
+++ b/engines/dreamweb/talk.cpp
@@ -119,10 +119,7 @@ void DreamWebEngine::moreTalk() {
return;
}
- if (_commandType != 215) {
- _commandType = 215;
- commandOnly(49);
- }
+ commandOnlyCond(49, 215);
if (_mouseButton == _oldButton)
return; // nomore
@@ -245,10 +242,7 @@ void DreamWebEngine::redes() {
return;
}
- if (_commandType != 217) {
- _commandType = 217;
- commandOnly(50);
- }
+ commandOnlyCond(50, 217);
if (!(_mouseButton & 1))
return;