[Command] Fix indentation
This commit is contained in:
parent
04c696a9d5
commit
f4d2ab6e1c
@ -227,11 +227,11 @@ namespace Components
|
|||||||
pos[1] = strtof(params[2], NULL);
|
pos[1] = strtof(params[2], NULL);
|
||||||
pos[2] = strtof(params[3], NULL);
|
pos[2] = strtof(params[3], NULL);
|
||||||
|
|
||||||
if(params.length() == 6)
|
if(params.length() == 6)
|
||||||
{
|
{
|
||||||
orientation[0] = strtof(params[4], NULL);
|
orientation[0] = strtof(params[4], NULL);
|
||||||
orientation[1] = strtof(params[5], NULL);
|
orientation[1] = strtof(params[5], NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
Game::TeleportPlayer(&Game::g_entities[clientNum], pos, orientation);
|
Game::TeleportPlayer(&Game::g_entities[clientNum], pos, orientation);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user