generated from AfonsoCMSousa/CPP-Template
Fix: Fixed some problems relating project files.
This commit is contained in:
parent
2df0838be8
commit
d38dbac8f4
@ -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);
|
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[update.carID].contacts++;
|
||||||
players[event_car_id].collisions++;
|
players[event_car_id].contacts++;
|
||||||
|
|
||||||
// TODO: Update total contacts for both players in the database
|
// TODO: Update total contacts for both players in the database
|
||||||
// TAG:2 Update total contacts for both players
|
// TAG:2 Update total contacts for both players
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user