aboutsummaryrefslogtreecommitdiff
path: root/sword2/resman.cpp
diff options
context:
space:
mode:
authorTorbjörn Andersson2003-11-04 18:02:49 +0000
committerTorbjörn Andersson2003-11-04 18:02:49 +0000
commitba098a3a5b27967c5e3f629cb6e8a0dc453aded8 (patch)
tree54e9193bc66152082fdade1221b313c92aeb2ac7 /sword2/resman.cpp
parent64ec1907c2d99e7ecc46e0a5d5605e474c548248 (diff)
downloadscummvm-rg350-ba098a3a5b27967c5e3f629cb6e8a0dc453aded8.tar.gz
scummvm-rg350-ba098a3a5b27967c5e3f629cb6e8a0dc453aded8.tar.bz2
scummvm-rg350-ba098a3a5b27967c5e3f629cb6e8a0dc453aded8.zip
Create g_logic dynamically. More moving of stuff into classes.
svn-id: r11129
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 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);