Shared: ITEM_LONGJUMP fix where I forgot to call makevectors before
calculating the jump dir.
This commit is contained in:
parent
77a4d1b388
commit
626a9d5461
|
@ -30,6 +30,7 @@ player::Physics_Jump(void)
|
||||||
} else {
|
} else {
|
||||||
/* Half-Life: Longjump module */
|
/* Half-Life: Longjump module */
|
||||||
if (flags & FL_CROUCHING && g_items & 0x00008000i) {
|
if (flags & FL_CROUCHING && g_items & 0x00008000i) {
|
||||||
|
makevectors(v_angle);
|
||||||
velocity = v_forward * 512;
|
velocity = v_forward * 512;
|
||||||
velocity[2] += 100;
|
velocity[2] += 100;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue