X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fecs%2Fsystems%2Fphysics.qc;h=b9eca8ca8e971859d2385633cad132de62ee1fd7;hp=a5af98d2ce9ac5ce8ee5a5d2c9abffa10f35da95;hb=265179b9de7cd25a2c4375434b6b9568e362c866;hpb=d48a8da40c731f903f7e9898677b807be1665b4f diff --git a/qcsrc/ecs/systems/physics.qc b/qcsrc/ecs/systems/physics.qc index a5af98d2ce..b9eca8ca8e 100644 --- a/qcsrc/ecs/systems/physics.qc +++ b/qcsrc/ecs/systems/physics.qc @@ -126,7 +126,7 @@ void sys_phys_update(entity this, float dt) this.com_phys_gravity = '0 0 0'; } else if (ITEMS_STAT(this) & IT_USING_JETPACK) { PM_jetpack(this, maxspeed_mod, dt); - } else if (IS_ONGROUND(this)) { + } else if (IS_ONGROUND(this) && (!IS_ONSLICK(this) || !PHYS_SLICK_APPLYGRAVITY(this))) { if (!WAS_ONGROUND(this)) { emit(phys_land, this); if (this.lastground < time - 0.3) {