]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/physics/movetypes/push.qc
Transifex autosync
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / physics / movetypes / push.qc
index 66ff42a69f30b4ca5ab8584ca1cae7edef23b2cf..c3c16b904fc278aa8948896d01d4796ae2b7284b 100644 (file)
@@ -1,4 +1,5 @@
 #include "push.qh"
+
 void _Movetype_PushMove(entity this, float dt) // SV_PushMove
 {
        if(this.velocity == '0 0 0' && this.avelocity == '0 0 0')
@@ -130,7 +131,7 @@ void _Movetype_PushMove(entity this, float dt) // SV_PushMove
                // try moving the contacted entity
                int savesolid = this.solid;
                this.solid = SOLID_NOT;
-               if(!_Movetype_PushEntity(check, move, true, true))
+               if(!_Movetype_PushEntity(check, move, true))
                {
                        // entity "check" got teleported
                        check.angles_y += trace_fraction * moveangle.y;
@@ -154,7 +155,7 @@ void _Movetype_PushMove(entity this, float dt) // SV_PushMove
                        if(_Movetype_NudgeOutOfSolid_PivotIsKnownGood(check, pivot))
                        {
                                // hack to invoke all necessary movement triggers
-                               _Movetype_PushEntity(check, '0 0 0', true, true);
+                               _Movetype_PushEntity(check, '0 0 0', true);
                                // we could fix it or entity "check" was telported
                                continue;
                        }