diff --git a/reaction/cgame/cg_ents.c b/reaction/cgame/cg_ents.c
index 43a180cc..c25663af 100644
--- a/reaction/cgame/cg_ents.c
+++ b/reaction/cgame/cg_ents.c
@@ -5,6 +5,9 @@
//-----------------------------------------------------------------------------
//
// $Log$
+// Revision 1.45 2003/08/26 19:28:37 makro
+// target_speakers
+//
// Revision 1.44 2003/08/10 20:13:26 makro
// no message
//
@@ -265,14 +268,15 @@ static void CG_EntityEffects(centity_t * cent)
// add loop sound
if (cent->currentState.loopSound) {
- //Makro - maybe this will help with the speakers ?
- //if (cent->currentState.eType != ET_SPEAKER) {
- trap_S_AddLoopingSound(cent->currentState.number, cent->lerpOrigin, vec3_origin,
+ //Makro - for speakers, s.weapon == 1 => no PVS check
+ if (cent->currentState.eType != ET_SPEAKER || cent->currentState.weapon == 0) {
+ trap_S_AddLoopingSound(cent->currentState.number, cent->lerpOrigin, vec3_origin,
cgs.gameSounds[cent->currentState.loopSound]);
- //} else {
- // trap_S_AddRealLoopingSound( cent->currentState.number, cent->lerpOrigin, vec3_origin,
- // cgs.gameSounds[ cent->currentState.loopSound ] );
- //}
+ } else {
+ //Makro - note: doesn't take into account PVS info
+ trap_S_AddRealLoopingSound( cent->currentState.number, cent->lerpOrigin, vec3_origin,
+ cgs.gameSounds[ cent->currentState.loopSound ] );
+ }
}
// constant light glow
diff --git a/reaction/cgame/cgame.plg b/reaction/cgame/cgame.plg
index fa60d579..ee630d1a 100644
--- a/reaction/cgame/cgame.plg
+++ b/reaction/cgame/cgame.plg
@@ -6,13 +6,13 @@
--------------------Configuration: cgame - Win32 Release--------------------
Command Lines
-Creating temporary file "D:\DOCUME~1\Andrei\LOCALS~1\Temp\RSP73D.tmp" with contents
+Creating temporary file "D:\DOCUME~1\Andrei\LOCALS~1\Temp\RSP1B3.tmp" with contents
[
/nologo /G6 /ML /W4 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /Fp"Release/cgame.pch" /YX /Fo"Release/" /Fd"Release/" /FD /c
-"C:\Games\Quake3\rq3source\reaction\cgame\cg_servercmds.c"
+"C:\Games\Quake3\rq3source\reaction\cgame\cg_ents.c"
]
-Creating command line "cl.exe @D:\DOCUME~1\Andrei\LOCALS~1\Temp\RSP73D.tmp"
-Creating temporary file "D:\DOCUME~1\Andrei\LOCALS~1\Temp\RSP73E.tmp" with contents
+Creating command line "cl.exe @D:\DOCUME~1\Andrei\LOCALS~1\Temp\RSP1B3.tmp"
+Creating temporary file "D:\DOCUME~1\Andrei\LOCALS~1\Temp\RSP1B4.tmp" with contents
[
/nologo /base:"0x30000000" /subsystem:windows /dll /incremental:no /pdb:"Release/cgamex86.pdb" /map:"Release/cgamex86.map" /machine:I386 /def:".\cgame.def" /out:"../Release/cgamex86.dll" /implib:"Release/cgamex86.lib"
.\Release\bg_misc.obj
@@ -43,10 +43,10 @@ Creating temporary file "D:\DOCUME~1\Andrei\LOCALS~1\Temp\RSP73E.tmp" with conte
.\Release\q_shared.obj
.\Release\ui_shared.obj
]
-Creating command line "link.exe @D:\DOCUME~1\Andrei\LOCALS~1\Temp\RSP73E.tmp"
+Creating command line "link.exe @D:\DOCUME~1\Andrei\LOCALS~1\Temp\RSP1B4.tmp"
Output Window
Compiling...
-cg_servercmds.c
+cg_ents.c
Linking...
Creating library Release/cgamex86.lib and object Release/cgamex86.exp
@@ -54,6 +54,24 @@ Linking...
Results
cgamex86.dll - 0 error(s), 0 warning(s)
+
+--------------------Configuration: game - Win32 Release--------------------
+
+Command Lines
+
+
+
+Results
+qagamex86.dll - 0 error(s), 0 warning(s)
+
+--------------------Configuration: ui - Win32 Release TA--------------------
+
+Command Lines
+
+
+
+Results
+uix86.dll - 0 error(s), 0 warning(s)