aboutsummaryrefslogtreecommitdiff
path: root/queen/logic.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'queen/logic.cpp')
-rw-r--r--queen/logic.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/queen/logic.cpp b/queen/logic.cpp
index a208f0411c..7447335c96 100644
--- a/queen/logic.cpp
+++ b/queen/logic.cpp
@@ -1804,6 +1804,16 @@ void Logic::joeUseUnderwear() {
}
+void Logic::dialogue(const char *dlgFile, int personInRoom, char *cutaway) {
+
+ char cutawayFile[20];
+ if (cutaway == NULL) {
+ cutaway = cutawayFile;
+ }
+ Talk::talk(dlgFile, personInRoom, cutaway, _graphics, _input, this, _resource, _sound);
+}
+
+
void Logic::playCutaway(const char *cutFile, char *next) {
char nextFile[20];