aboutsummaryrefslogtreecommitdiff
path: root/sword2/resman.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sword2/resman.cpp')
-rw-r--r--sword2/resman.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/sword2/resman.cpp b/sword2/resman.cpp
index 099e218721..bfb5a7c7af 100644
--- a/sword2/resman.cpp
+++ b/sword2/resman.cpp
@@ -28,7 +28,6 @@
#include "sword2/resman.h"
#include "sword2/router.h"
#include "sword2/sound.h"
-#include "sword2/driver/d_draw.h"
#define Debug_Printf _vm->_debugger->DebugPrintf
@@ -870,7 +869,7 @@ void ResourceManager::getCd(int cd) {
_vm->_sound->stopMusic(true);
textRes = openResource(2283);
- _vm->displayMsg(_vm->fetchTextLine(textRes, 5 + cd) + 2, 0);
+ _vm->_screen->displayMsg(_vm->fetchTextLine(textRes, 5 + cd) + 2, 0);
closeResource(2283);
// The original code probably determined automagically when the correct