mirror of
https://github.com/1dot13/source.git
synced 2026-09-16 14:47:17 +02:00
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:
@@ -427,6 +427,7 @@ void StartFireAmbient(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
#define MAX_SSA_SOUNDS 10
|
#define MAX_SSA_SOUNDS 10
|
||||||
|
extern BOOLEAN AreInMeanwhile();
|
||||||
|
|
||||||
void SetSSA(void)
|
void SetSSA(void)
|
||||||
{
|
{
|
||||||
@@ -474,6 +475,12 @@ void SetSSA(void)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// no ambients in cutscenes
|
||||||
|
if(AreInMeanwhile())
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// Determine what time of day we are in ( day/night)
|
// Determine what time of day we are in ( day/night)
|
||||||
if (gubEnvLightValue >= LIGHT_DUSK_CUTOFF)
|
if (gubEnvLightValue >= LIGHT_DUSK_CUTOFF)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user