From 94edf540ef57e801efda2145026d97b6606d66b3 Mon Sep 17 00:00:00 2001 From: Torbjörn Andersson Date: Sat, 1 Nov 2003 16:55:20 +0000 Subject: More moving of stuff into classes svn-id: r11025 --- sword2/resman.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sword2/resman.cpp') 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 -- cgit v1.2.3