mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 23:02:03 +00:00
- Exhumed: Fixed a few missed constants when changing horizon to 100.
This commit is contained in:
parent
fa1ce1c021
commit
5324d9680b
1 changed files with 3 additions and 3 deletions
|
@ -739,7 +739,7 @@ loc_flag:
|
|||
// loc_27266:
|
||||
case kWeaponSword:
|
||||
{
|
||||
nHeight += (92 - FixedToInt(sPlayerInput[nPlayer].horizon)) << 6;
|
||||
nHeight += (100 - FixedToInt(sPlayerInput[nPlayer].horizon)) << 6;
|
||||
|
||||
theZ += nHeight;
|
||||
|
||||
|
@ -844,7 +844,7 @@ loc_flag:
|
|||
}
|
||||
case kWeaponPistol:
|
||||
{
|
||||
int var_50 = (FixedToInt(sPlayerInput[nPlayer].horizon) - 92) << 2;
|
||||
int var_50 = (FixedToInt(sPlayerInput[nPlayer].horizon) - 100) << 2;
|
||||
nHeight -= var_50;
|
||||
|
||||
if (sPlayerInput[nPlayer].nTarget >= 0 && cl_autoaim)
|
||||
|
@ -859,7 +859,7 @@ loc_flag:
|
|||
|
||||
case kWeaponGrenade:
|
||||
{
|
||||
ThrowGrenade(nPlayer, ebp, ebx, nHeight - 2560, FixedToInt(sPlayerInput[nPlayer].horizon) - 92);
|
||||
ThrowGrenade(nPlayer, ebp, ebx, nHeight - 2560, FixedToInt(sPlayerInput[nPlayer].horizon) - 100);
|
||||
break;
|
||||
}
|
||||
case kWeaponStaff:
|
||||
|
|
Loading…
Reference in a new issue