mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 04:37:00 +00:00
[10096] Allow negative X coordinate in .go command
This commit is contained in:
parent
c2ae24c16c
commit
2f3c518935
2 changed files with 2 additions and 2 deletions
|
|
@ -2315,7 +2315,7 @@ bool ChatHandler::HandleGoCommand(const char* args)
|
|||
float x, y, z;
|
||||
|
||||
// raw coordinates case
|
||||
if (isNumeric(args[0]))
|
||||
if (isNumeric(args[0]) || args[0] == '-')
|
||||
{
|
||||
char* px = strtok((char*)args, " ");
|
||||
char* py = strtok(NULL, " ");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue