Remove unused globals and move others from control.cpp to needed source files

This commit is contained in:
Lwmte 2021-09-15 21:09:09 +03:00
parent 1195e2077c
commit 42bb372f63
23 changed files with 111 additions and 143 deletions

View file

@ -53,8 +53,8 @@ static void PlaySoundEffect(int id, int flags)
static void SetAmbientTrack(std::string const & trackName)
{
CurrentAtmosphere = trackName;
S_CDPlay(CurrentAtmosphere, 1);
CurrentLoopedSoundTrack = trackName;
S_CDPlay(CurrentLoopedSoundTrack, 1);
}
static int FindRoomNumber(GameScriptPosition pos)