aboutsummaryrefslogtreecommitdiff
path: root/sword2/resman.cpp
diff options
context:
space:
mode:
authorTorbjörn Andersson2003-11-01 16:55:20 +0000
committerTorbjörn Andersson2003-11-01 16:55:20 +0000
commit94edf540ef57e801efda2145026d97b6606d66b3 (patch)
tree9fbe2f0f9f8169c25d96c952212191b5cf0a63d1 /sword2/resman.cpp
parent078091e7f4f67293a414979daf2062f5edfc393c (diff)
downloadscummvm-rg350-94edf540ef57e801efda2145026d97b6606d66b3.tar.gz
scummvm-rg350-94edf540ef57e801efda2145026d97b6606d66b3.tar.bz2
scummvm-rg350-94edf540ef57e801efda2145026d97b6606d66b3.zip
More moving of stuff into classes
svn-id: r11025
Diffstat (limited to 'sword2/resman.cpp')
-rw-r--r--sword2/resman.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/sword2/resman.cpp b/sword2/resman.cpp
index f9aeabb8a8..80f37c84d8 100644
--- a/sword2/resman.cpp
+++ b/sword2/resman.cpp
@@ -1285,7 +1285,7 @@ void ResourceManager::getCd(int cd) {
g_logic.fnStopMusic(NULL);
textRes = res_man.open(2283);
- DisplayMsg(FetchTextLine(textRes, 5 + cd) + 2, 0);
+ g_sword2->displayMsg(FetchTextLine(textRes, 5 + cd) + 2, 0);
text_spr = fontRenderer.makeTextSprite(FetchTextLine(textRes, 5 + cd) + 2, 640, 187, g_sword2->_speechFontId);
frame = (_frameHeader*) text_spr->ad;
@@ -1338,7 +1338,7 @@ void ResourceManager::getCd(int cd) {
} while (!done);
memory.freeMemory(text_spr);
- RemoveMsg();
+ g_sword2->removeMsg();
}
} // End of namespace Sword2