Shared: ITEM_LONGJUMP fix where I forgot to call makevectors before

calculating the jump dir.
This commit is contained in:
Marco Cawthorne 2021-12-13 10:36:55 -08:00
parent 77a4d1b388
commit 626a9d5461
Signed by: eukara
GPG Key ID: C196CD8BA993248A
1 changed files with 1 additions and 0 deletions

View File

@ -30,6 +30,7 @@ player::Physics_Jump(void)
} else {
/* Half-Life: Longjump module */
if (flags & FL_CROUCHING && g_items & 0x00008000i) {
makevectors(v_angle);
velocity = v_forward * 512;
velocity[2] += 100;
}