aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/base/base.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/wintermute/base/base.cpp')
-rw-r--r--engines/wintermute/base/base.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/engines/wintermute/base/base.cpp b/engines/wintermute/base/base.cpp
index c0459b0ce5..d01972b82f 100644
--- a/engines/wintermute/base/base.cpp
+++ b/engines/wintermute/base/base.cpp
@@ -28,6 +28,7 @@
#include "engines/wintermute/base/base.h"
#include "engines/wintermute/base/base_game.h"
+#include "engines/wintermute/base/base_engine.h"
#include "engines/wintermute/base/base_parser.h"
#include "engines/wintermute/base/base_dynamic_buffer.h"
@@ -105,7 +106,7 @@ bool BaseClass::parseEditorProperty(byte *buffer, bool complete) {
if (complete) {
if (parser.getCommand((char **)&buffer, commands, (char **)&params) != TOKEN_EDITOR_PROPERTY) {
- _gameRef->LOG(0, "'EDITOR_PROPERTY' keyword expected.");
+ BaseEngine::LOG(0, "'EDITOR_PROPERTY' keyword expected.");
return STATUS_FAILED;
}
buffer = params;
@@ -143,7 +144,7 @@ bool BaseClass::parseEditorProperty(byte *buffer, bool complete) {
delete[] propValue;
propName = nullptr;
propValue = nullptr;
- _gameRef->LOG(0, "Syntax error in EDITOR_PROPERTY definition");
+ BaseEngine::LOG(0, "Syntax error in EDITOR_PROPERTY definition");
return STATUS_FAILED;
}
if (cmd == PARSERR_GENERIC || propName == nullptr || propValue == nullptr) {
@@ -151,7 +152,7 @@ bool BaseClass::parseEditorProperty(byte *buffer, bool complete) {
delete[] propValue;
propName = nullptr;
propValue = nullptr;
- _gameRef->LOG(0, "Error loading EDITOR_PROPERTY definition");
+ BaseEngine::LOG(0, "Error loading EDITOR_PROPERTY definition");
return STATUS_FAILED;
}