Updated flags to allow for individual pause commands
This commit is contained in:
committed by
Jason Watkins
parent
4293ad124d
commit
f1a460ebec
@@ -273,7 +273,7 @@ int setCONN(XPCSocket* sock, unsigned short port)
|
||||
int pauseSim(XPCSocket sock, char pause)
|
||||
{
|
||||
// Validte input
|
||||
if (pause < 0 || pause > 2)
|
||||
if (pause < 0 || (pause > 2 && pause < 100) || (pause > 119 && pause < 200) || pause > 219)
|
||||
{
|
||||
printError("pauseSim", "Invalid argument: %i", pause);
|
||||
return -2;
|
||||
|
||||
Reference in New Issue
Block a user