mirror of
https://github.com/ReactionQuake3/reaction.git
synced 2025-01-31 05:40:49 +00:00
possible fix for ghost door problem
This commit is contained in:
parent
50d562f7f9
commit
7dcb7f1bc5
1 changed files with 9 additions and 0 deletions
|
@ -5,6 +5,9 @@
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
//
|
//
|
||||||
// $Log$
|
// $Log$
|
||||||
|
// Revision 1.51 2002/08/25 23:19:31 niceass
|
||||||
|
// possible fix for ghost door problem
|
||||||
|
//
|
||||||
// Revision 1.50 2002/08/22 05:00:01 blaze
|
// Revision 1.50 2002/08/22 05:00:01 blaze
|
||||||
// Allow func_buttons to be unkickable too (set spawnflags to 8)
|
// Allow func_buttons to be unkickable too (set spawnflags to 8)
|
||||||
//
|
//
|
||||||
|
@ -1416,6 +1419,9 @@ void SP_func_door(gentity_t * ent)
|
||||||
ent->soundPos1 = G_SoundIndex(sSndStart);
|
ent->soundPos1 = G_SoundIndex(sSndStart);
|
||||||
ent->soundPos2 = G_SoundIndex(sSndStop);
|
ent->soundPos2 = G_SoundIndex(sSndStop);
|
||||||
|
|
||||||
|
// NiceAss: Possible fix for ghost door problem. Maybe laggy
|
||||||
|
ent->r.svFlags |= SVF_BROADCAST;
|
||||||
|
|
||||||
//ent->sound1to2 = ent->sound2to1 = G_SoundIndex("sound/movers/doors/dr1_strt.wav");
|
//ent->sound1to2 = ent->sound2to1 = G_SoundIndex("sound/movers/doors/dr1_strt.wav");
|
||||||
//ent->soundPos1 = ent->soundPos2 = G_SoundIndex("sound/movers/doors/dr1_end.wav");
|
//ent->soundPos1 = ent->soundPos2 = G_SoundIndex("sound/movers/doors/dr1_end.wav");
|
||||||
|
|
||||||
|
@ -1539,6 +1545,9 @@ void SP_func_door_rotating(gentity_t * ent)
|
||||||
//ent->sound1to2 = ent->sound2to1 = G_SoundIndex("sound/movers/doors/dr1_strt.wav");
|
//ent->sound1to2 = ent->sound2to1 = G_SoundIndex("sound/movers/doors/dr1_strt.wav");
|
||||||
//ent->soundPos1 = ent->soundPos2 = G_SoundIndex("sound/movers/doors/dr1_end.wav");
|
//ent->soundPos1 = ent->soundPos2 = G_SoundIndex("sound/movers/doors/dr1_end.wav");
|
||||||
|
|
||||||
|
// NiceAss: Possible fix for ghost door problem. Maybe laggy
|
||||||
|
ent->r.svFlags |= SVF_BROADCAST;
|
||||||
|
|
||||||
ent->blocked = Blocked_Door;
|
ent->blocked = Blocked_Door;
|
||||||
|
|
||||||
// default speed of 120
|
// default speed of 120
|
||||||
|
|
Loading…
Reference in a new issue