diff options
author | Jonathan Gray | 2004-08-27 01:32:10 +0000 |
---|---|---|
committer | Jonathan Gray | 2004-08-27 01:32:10 +0000 |
commit | d1d308ff743c85fd91d45bf8a2e2a7f9507b6ced (patch) | |
tree | 1fa6c1da747d77e3041a52484e318fa18cef15b5 /saga/sndres.cpp | |
parent | c89bfad61dc7c1c260540e173df198d1fe9f8dc4 (diff) | |
download | scummvm-rg350-d1d308ff743c85fd91d45bf8a2e2a7f9507b6ced.tar.gz scummvm-rg350-d1d308ff743c85fd91d45bf8a2e2a7f9507b6ced.tar.bz2 scummvm-rg350-d1d308ff743c85fd91d45bf8a2e2a7f9507b6ced.zip |
R_GAMETYPE -> GID, remove unused supported flag and trim some unused bits of GAME
svn-id: r14793
Diffstat (limited to 'saga/sndres.cpp')
-rw-r--r-- | saga/sndres.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/saga/sndres.cpp b/saga/sndres.cpp index 5fef6afd23..4efe99d95c 100644 --- a/saga/sndres.cpp +++ b/saga/sndres.cpp @@ -71,7 +71,7 @@ int SndRes::playVoice(uint32 voice_rn) { File f; - if (GAME_GetGameType() == R_GAMETYPE_ITE && voice_rn == 4 && f.open("sound/p2_a.voc")) { + if (GAME_GetGameType() == GID_ITE && voice_rn == 4 && f.open("sound/p2_a.voc")) { uint32 size = f.size(); byte *snd_res = (byte *)malloc(size); f.read(snd_res, size); @@ -228,7 +228,7 @@ int SndRes::getVoiceLength(uint32 voice_rn) { // file, sound/p2_a.voc, to correct voice 4 in the intro. Use that, if // available. - if (GAME_GetGameType() == R_GAMETYPE_ITE && voice_rn == 4 && f.open("sound/p2_a.voc")) { + if (GAME_GetGameType() == GID_ITE && voice_rn == 4 && f.open("sound/p2_a.voc")) { length = f.size(); res_type = R_GAME_SOUND_VOC; f.close(); |