Skip to content

Commit

Permalink
[10096] Allow negative X coordinate in .go command
Browse files Browse the repository at this point in the history
  • Loading branch information
VladimirMangos committed Jun 22, 2010
1 parent 60bed19 commit 7273f11
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/game/Level1.cpp
Expand Up @@ -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, " ");
Expand Down
2 changes: 1 addition & 1 deletion src/shared/revision_nr.h
@@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "10095"
#define REVISION_NR "10096"
#endif // __REVISION_NR_H__

0 comments on commit 7273f11

Please sign in to comment.