Resets the waypoints (for new level)
| 3769 | |
| 3770 | // Resets the waypoints (for new level) |
| 3771 | void ResetWaypoint() { |
| 3772 | // Set global waypoint to first start position |
| 3773 | Current_waypoint = 0; |
| 3774 | |
| 3775 | // Clear out all auto-waypoints |
| 3776 | for (int i = 0; i < MAX_PLAYERS; i++) |
| 3777 | Players[i].current_auto_waypoint_room = -1; |
| 3778 | } |
| 3779 | |
| 3780 | struct waypoint { |
| 3781 | vector pos; |