maint(client_command): remove comments since enum is used

This commit is contained in:
Edo 2023-05-17 13:09:42 +01:00 committed by GitHub
parent 99d384d1ba
commit 9ab40f0f73
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -143,12 +143,12 @@ private:
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)
{
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);