From ba098a3a5b27967c5e3f629cb6e8a0dc453aded8 Mon Sep 17 00:00:00 2001 From: Torbjörn Andersson Date: Tue, 4 Nov 2003 18:02:49 +0000 Subject: Create g_logic dynamically. More moving of stuff into classes. svn-id: r11129 --- 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 79cf76d7a6..4da9dc4ee6 100644 --- a/sword2/resman.cpp +++ b/sword2/resman.cpp @@ -979,7 +979,7 @@ void ResourceManager::cacheNewCluster(uint32 newCluster) { // down - but if we restored to a different CD the music is stopped // in getCd() when it asks for the CD - g_logic.fnStopMusic(NULL); + g_logic->fnStopMusic(NULL); g_sword2->clearFxQueue(); // stops all fx & clears the queue (James22july97) getCd(_cdTab[newCluster] & 3); @@ -1282,7 +1282,7 @@ void ResourceManager::getCd(int cd) { // current CD - otherwise when we take out the CD, Windows will // complain! - g_logic.fnStopMusic(NULL); + g_logic->fnStopMusic(NULL); textRes = openResource(2283); g_sword2->displayMsg(g_sword2->fetchTextLine(textRes, 5 + cd) + 2, 0); -- cgit v1.2.3