From 3a43829b885fe67b3165f2f75778dbbb65d1d560 Mon Sep 17 00:00:00 2001 From: Torbjörn Andersson Date: Sat, 18 Oct 2003 08:11:50 +0000 Subject: Moved the opcode functions into the Logic class. svn-id: r10885 --- sword2/resman.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sword2/resman.cpp') diff --git a/sword2/resman.cpp b/sword2/resman.cpp index cf910676b2..abd06b3c8b 100644 --- a/sword2/resman.cpp +++ b/sword2/resman.cpp @@ -27,6 +27,7 @@ #include "bs2/function.h" #include "bs2/header.h" #include "bs2/interpreter.h" +#include "bs2/logic.h" #include "bs2/maketext.h" #include "bs2/memory.h" #include "bs2/mouse.h" // for system Set_mouse & Set_luggage routines @@ -1067,7 +1068,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 - FN_stop_music(NULL); + g_logic.fnStopMusic(NULL); Clear_fx_queue(); // stops all fx & clears the queue (James22july97) getCd(_cdTab[newCluster] & 3); @@ -1370,7 +1371,7 @@ void ResourceManager::getCd(int cd) { // current CD - otherwise when we take out the CD, Windows will // complain! - FN_stop_music(NULL); + g_logic.fnStopMusic(NULL); textRes = res_man.open(2283); DisplayMsg(FetchTextLine(textRes, 5 + cd) + 2, 0); -- cgit v1.2.3