mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 19:37:02 +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, " ");
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "10095"
|
||||
#define REVISION_NR "10096"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue