[10096] Allow negative X coordinate in .go command

This commit is contained in:
VladimirMangos 2010-06-22 14:12:46 +04:00
parent c2ae24c16c
commit 2f3c518935
2 changed files with 2 additions and 2 deletions

View file

@ -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, " ");