| 750 | |
| 751 | |
| 752 | void doNetworkStuff() { |
| 753 | // send my data |
| 754 | if (myTank && myTank->isDeadReckoningWrong() && !myTank->isObserver()) { |
| 755 | serverLink->sendPlayerUpdate(myTank); // also calls setDeadReckoning() |
| 756 | } |
| 757 | |
| 758 | #ifdef ROBOT |
| 759 | if (entered) { |
| 760 | sendRobotUpdates(); |
| 761 | } |
| 762 | #endif |
| 763 | |
| 764 | cURLManager::perform(); |
| 765 | } |
| 766 | |
| 767 | |
| 768 | // |
no test coverage detected