mirror of
https://github.com/JezuzLizard/BO2-Reimagined.git
synced 2025-06-08 06:12:17 -05:00
Trample Steam: fix player fling when jumping
This commit is contained in:
parent
7db8e0b05d
commit
e0390c973b
@ -838,6 +838,7 @@
|
|||||||
* No longer gets destroyed from kills
|
* No longer gets destroyed from kills
|
||||||
* Gets destroyed after activating 15 times
|
* Gets destroyed after activating 15 times
|
||||||
* Does fast cooldown when player activates
|
* Does fast cooldown when player activates
|
||||||
|
* Fixed an issue where players were not flung correctly when activating the Trample Steam while in the air
|
||||||
|
|
||||||
### Head Chopper
|
### Head Chopper
|
||||||
* No longer gets destroyed from kills
|
* No longer gets destroyed from kills
|
||||||
|
@ -112,6 +112,7 @@ player_fling(origin, angles, velocity, weapon)
|
|||||||
trace = physicstrace(origin, torigin, vectorscale((-1, -1, 0), 15.0), (15, 15, 30), self);
|
trace = physicstrace(origin, torigin, vectorscale((-1, -1, 0), 15.0), (15, 15, 30), self);
|
||||||
|
|
||||||
self setorigin(aorigin);
|
self setorigin(aorigin);
|
||||||
|
self setvelocity((0, 0, 0));
|
||||||
wait_network_frame();
|
wait_network_frame();
|
||||||
self setvelocity(velocity);
|
self setvelocity(velocity);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user