maint(client_command): remove comments since enum is used
This commit is contained in:
parent
99d384d1ba
commit
9ab40f0f73
@ -143,12 +143,12 @@ private:
|
|||||||
|
|
||||||
if (params.size() > 4)
|
if (params.size() > 4)
|
||||||
{
|
{
|
||||||
angles[game::native::YAW] = std::strtof(params.get(4), nullptr); // Yaw
|
angles[game::native::YAW] = std::strtof(params.get(4), nullptr);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (params.size() == 6)
|
if (params.size() == 6)
|
||||||
{
|
{
|
||||||
angles[game::native::PITCH] = std::strtof(params.get(5), nullptr); // Pitch
|
angles[game::native::PITCH] = std::strtof(params.get(5), nullptr);
|
||||||
}
|
}
|
||||||
|
|
||||||
game::native::TeleportPlayer(ent, origin, angles);
|
game::native::TeleportPlayer(ent, origin, angles);
|
||||||
|
Loading…
Reference in New Issue
Block a user