mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 17:01:28 +00:00
- renamed PlayerHorizon function to deconflict with the same-named struct
This commit is contained in:
parent
698d62bbc6
commit
c9791bc148
3 changed files with 3 additions and 3 deletions
|
@ -164,7 +164,7 @@ inline float PlayerInputAngVel(int pl)
|
|||
return ps[pl].sync.avel;
|
||||
}
|
||||
|
||||
inline float PlayerHorizon(int pl)
|
||||
inline float GetPlayerHorizon(int pl)
|
||||
{
|
||||
return ps[pl].sync.horz;
|
||||
}
|
||||
|
|
|
@ -3118,7 +3118,7 @@ HORIZONLY:
|
|||
|
||||
if (SyncInput())
|
||||
{
|
||||
sethorizon(&p->horizon, PlayerHorizon(snum), &p->sync.actions);
|
||||
sethorizon(&p->horizon, GetPlayerHorizon(snum), &p->sync.actions);
|
||||
}
|
||||
|
||||
p->checkhardlanding();
|
||||
|
|
|
@ -3982,7 +3982,7 @@ HORIZONLY:
|
|||
|
||||
if (SyncInput())
|
||||
{
|
||||
sethorizon(&p->horizon, PlayerHorizon(snum), &p->sync.actions);
|
||||
sethorizon(&p->horizon, GetPlayerHorizon(snum), &p->sync.actions);
|
||||
}
|
||||
|
||||
p->checkhardlanding();
|
||||
|
|
Loading…
Reference in a new issue