Shared: ITEM_LONGJUMP fix where I forgot to call makevectors before
calculating the jump dir.
This commit is contained in:
parent
77a4d1b388
commit
626a9d5461
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue