Revision 659
Added virtual wall support in server
Command.cpp | ||
---|---|---|
266 | 266 |
colonet_server->getPositionMonitor()->assignRealId(atoi(tokens[2]), atoi(tokens[3])); |
267 | 267 |
break; |
268 | 268 |
|
269 |
case CLIENT_SET_VIRTUAL_WALL: |
|
270 |
colonet_server->getVirtualWall()->set_coordinates(atoi(tokens[2]), atoi(tokens[3]), atoi(tokens[4]), atoi(tokens[5])); |
|
271 |
break; |
|
272 |
|
|
269 | 273 |
default: |
270 | 274 |
char* my_current_message = "Invalid request!\n"; |
271 | 275 |
//printf("Sending %s\n", my_current_message); |
Also available in: Unified diff