trigger_transition: filter out "players" in all transitioning modes.
This commit is contained in:
parent
0c2db7a23a
commit
a9b6f9a428
1 changed files with 6 additions and 5 deletions
|
@ -81,11 +81,6 @@ trigger_transition::SaveTransition(entity pvsTest, bool usePVS)
|
|||
if (checkpvs(pvsTest.origin, a) == true) {
|
||||
replicateEntity = true;
|
||||
|
||||
/* these checks are somewhat safe assumptions. */
|
||||
if (a.classname == "player") {
|
||||
replicateEntity = false;
|
||||
}
|
||||
|
||||
if (a.classname == "info_landmark") {
|
||||
replicateEntity = false;
|
||||
}
|
||||
|
@ -100,6 +95,12 @@ trigger_transition::SaveTransition(entity pvsTest, bool usePVS)
|
|||
replicateEntity = true;
|
||||
}
|
||||
|
||||
/* these checks are somewhat safe assumptions. */
|
||||
if (a.classname == "player") {
|
||||
replicateEntity = false;
|
||||
continueInNextMap = false;
|
||||
}
|
||||
|
||||
/* only carry brushes with a global name */
|
||||
if (a.m_bIsBrush == true) {
|
||||
replicateEntity = false;
|
||||
|
|
Loading…
Reference in a new issue