mirror of
https://github.com/ZDoom/Raze.git
synced 2025-06-02 02:01:31 +00:00
- Capitalise vec2_t
y
variable.
This commit is contained in:
parent
3c9cd926ba
commit
118ceb18ca
46 changed files with 352 additions and 352 deletions
|
@ -454,7 +454,7 @@ void PlayerHorizon::calcviewpitch(vec2_t const pos, binangle const ang, bool con
|
|||
// Get a point, 512 (64 for Blood) units ahead of player's position
|
||||
int const shift = -(isBlood() ? BLOODSINSHIFT : DEFSINSHIFT);
|
||||
int const x = pos.X + ang.bcos(shift);
|
||||
int const y = pos.y + ang.bsin(shift);
|
||||
int const y = pos.Y + ang.bsin(shift);
|
||||
auto tempsect = cursectnum;
|
||||
updatesector(x, y, &tempsect);
|
||||
|
||||
|
@ -462,7 +462,7 @@ void PlayerHorizon::calcviewpitch(vec2_t const pos, binangle const ang, bool con
|
|||
{
|
||||
// Get the floorz as if the new (x,y) point was still in
|
||||
// your sector
|
||||
int const j = getflorzofslopeptr(cursectnum, pos.X, pos.y);
|
||||
int const j = getflorzofslopeptr(cursectnum, pos.X, pos.Y);
|
||||
int const k = getflorzofslopeptr(tempsect, x, y);
|
||||
|
||||
// If extended point is in same sector as you or the slopes
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue