No sector ambients in cutscenes.

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8971 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
Sevenfm
2021-04-24 13:41:09 +00:00
parent 09270c04f0
commit d86a1f15a2
+7
View File
@@ -427,6 +427,7 @@ void StartFireAmbient(void)
}
#define MAX_SSA_SOUNDS 10
extern BOOLEAN AreInMeanwhile();
void SetSSA(void)
{
@@ -474,6 +475,12 @@ void SetSSA(void)
return;
}
// no ambients in cutscenes
if(AreInMeanwhile())
{
return;
}
// Determine what time of day we are in ( day/night)
if (gubEnvLightValue >= LIGHT_DUSK_CUTOFF)
{