Small fix
This commit is contained in:
parent
4101540add
commit
208525e682
@ -53,6 +53,14 @@ namespace camera
|
||||
return;
|
||||
}
|
||||
|
||||
if (cg_paused->modified)
|
||||
{
|
||||
ps->origin[0] = game::refdef->org[0];
|
||||
ps->origin[1] = game::refdef->org[1];
|
||||
ps->origin[2] = game::refdef->org[2];
|
||||
cg_paused->modified = false;
|
||||
}
|
||||
|
||||
float viewangles[3]{};
|
||||
viewangles[0] = angle_normalize((cmd.angles[0] * 0.000021457672f) + ps->delta_angles[0]);
|
||||
viewangles[1] = angle_normalize((cmd.angles[1] * 0.000021457672f) + ps->delta_angles[1]);
|
||||
|
@ -281,11 +281,10 @@ namespace fps
|
||||
}
|
||||
|
||||
const auto font = fps_font;
|
||||
|
||||
const auto pos_string = utils::string::va("%f %f %f",
|
||||
game::g_entities[0].origin[0],
|
||||
game::g_entities[0].origin[1],
|
||||
game::g_entities[0].origin[2]);
|
||||
game::refdef->org[0],
|
||||
game::refdef->org[1],
|
||||
game::refdef->org[2]);
|
||||
|
||||
const auto x = screen_max[0] - 15.f - game::R_TextWidth(pos_string, 0x7FFFFFFF, font);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user