mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-28 01:40:41 +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;
|
return ps[pl].sync.avel;
|
||||||
}
|
}
|
||||||
|
|
||||||
inline float PlayerHorizon(int pl)
|
inline float GetPlayerHorizon(int pl)
|
||||||
{
|
{
|
||||||
return ps[pl].sync.horz;
|
return ps[pl].sync.horz;
|
||||||
}
|
}
|
||||||
|
|
|
@ -3118,7 +3118,7 @@ HORIZONLY:
|
||||||
|
|
||||||
if (SyncInput())
|
if (SyncInput())
|
||||||
{
|
{
|
||||||
sethorizon(&p->horizon, PlayerHorizon(snum), &p->sync.actions);
|
sethorizon(&p->horizon, GetPlayerHorizon(snum), &p->sync.actions);
|
||||||
}
|
}
|
||||||
|
|
||||||
p->checkhardlanding();
|
p->checkhardlanding();
|
||||||
|
|
|
@ -3982,7 +3982,7 @@ HORIZONLY:
|
||||||
|
|
||||||
if (SyncInput())
|
if (SyncInput())
|
||||||
{
|
{
|
||||||
sethorizon(&p->horizon, PlayerHorizon(snum), &p->sync.actions);
|
sethorizon(&p->horizon, GetPlayerHorizon(snum), &p->sync.actions);
|
||||||
}
|
}
|
||||||
|
|
||||||
p->checkhardlanding();
|
p->checkhardlanding();
|
||||||
|
|
Loading…
Reference in a new issue