Skip to content

Commit 57c3e02

Browse files
committed
fixed up self-knockback jumps
1 parent 44ae0a9 commit 57c3e02

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

game/quiver/scripts/items/items_game.txt

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -224374,15 +224374,6 @@
224374224374
"armory_desc" "on_wearer"
224375224375
"stored_as_integer" "0"
224376224376
}
224377-
"933"
224378-
{
224379-
"name" "scattergun knockback mult penalty"
224380-
"attribute_class" "scattergun_knockback_mult"
224381-
"description_format" "value_is_inverted_percentage"
224382-
"hidden" "1"
224383-
"effect_type" "negative"
224384-
"stored_as_integer" "0"
224385-
}
224386224377

224387224378
"1000"
224388224379
{

src/game/shared/tf/tf_weapon_shotgun.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -381,8 +381,10 @@ void CTFScatterGun::FireBullet( CTFPlayer *pPlayer )
381381
// Impulse an additional bit of Z push.
382382
pOwner->ApplyAbsVelocityImpulse(Vector(0, 0, 50.f));
383383

384+
#if !(defined(QUIVER_DLL) || defined(QUIVER_CLIENT_DLL))
384385
// Slow player movement for a brief period of time.
385386
pOwner->RemoveFlag(FL_ONGROUND);
387+
#endif
386388
}
387389
}
388390
#else

0 commit comments

Comments
 (0)