mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-11 07:12:02 +00:00
Fix compile error on Linux
This commit is contained in:
parent
5fdbbc4f9e
commit
5bcdc7d889
1 changed files with 4 additions and 4 deletions
|
@ -170,10 +170,10 @@ static int DoomSpecificInfo (char *buffer, char *end)
|
|||
}
|
||||
else
|
||||
{
|
||||
p += snprintf (buffer+p, size-p, "\n\nviewx = %f", ViewPos.X);
|
||||
p += snprintf (buffer+p, size-p, "\nviewy = %f", ViewPos.Y);
|
||||
p += snprintf (buffer+p, size-p, "\nviewz = %f", ViewPos.Z);
|
||||
p += snprintf (buffer+p, size-p, "\nviewangle = %f", ViewAngle.Degrees);
|
||||
p += snprintf (buffer+p, size-p, "\n\nviewx = %f", r_viewpoint.Pos.X);
|
||||
p += snprintf (buffer+p, size-p, "\nviewy = %f", r_viewpoint.Pos.Y);
|
||||
p += snprintf (buffer+p, size-p, "\nviewz = %f", r_viewpoint.Pos.Z);
|
||||
p += snprintf (buffer+p, size-p, "\nviewangle = %f", r_viewpoint.Angles.Yaw.Degrees);
|
||||
}
|
||||
}
|
||||
buffer[p++] = '\n';
|
||||
|
|
Loading…
Reference in a new issue