Updated flags to allow for individual pause commands

This commit is contained in:
Michael Thompson
2017-07-06 13:11:07 -07:00
committed by Jason Watkins
parent 4293ad124d
commit f1a460ebec

View File

@@ -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;