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