generated from AfonsoCMSousa/CPP-Template
Fix: Fixed some problems relating project files.
This commit is contained in:
+2
-2
@@ -434,8 +434,8 @@ int main(void) {
|
||||
printf("Car ID: %d (%s) collided with Car ID: %d (%s)\n", update.carID, players[update.carID].driver_name, event_car_id, players[event_car_id].driver_name);
|
||||
|
||||
|
||||
players[update.carID].collisions++;
|
||||
players[event_car_id].collisions++;
|
||||
players[update.carID].contacts++;
|
||||
players[event_car_id].contacts++;
|
||||
|
||||
// TODO: Update total contacts for both players in the database
|
||||
// TAG:2 Update total contacts for both players
|
||||
|
||||
Reference in New Issue
Block a user