Rev 20 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 20 | Rev 21 | ||
---|---|---|---|
Line 510... | Line 510... | ||
510 | // IDA: void __cdecl CheckLastCar() |
510 | // IDA: void __cdecl CheckLastCar() |
511 | void CheckLastCar(void) { |
511 | void CheckLastCar(void) { |
512 | LOG_TRACE("()"); |
512 | LOG_TRACE("()"); |
513 | 513 | ||
514 | if (gNet_mode == eNet_mode_none && GetCarCount(eVehicle_opponent) != 0 && NumberOfOpponentsLeft() == 0) { |
514 | if (gNet_mode == eNet_mode_none && GetCarCount(eVehicle_opponent) != 0 && NumberOfOpponentsLeft() == 0) { |
515 | NewTextHeadupSlot( |
515 | NewTextHeadupSlot(eHeadupSlot_misc, 0, 5000, -4, GetMiscString(kMiscString_EveryOpponentWasted)); |
516 | RaceCompleted(eRace_over_opponents); |
516 | RaceCompleted(eRace_over_opponents); |
517 | } |
517 | } |
518 | } |
518 | } |
519 | 519 | ||
520 | // IDA: void __usercall KnackerThisCar(tCar_spec *pCar@<EAX>) |
520 | // IDA: void __usercall KnackerThisCar(tCar_spec *pCar@<EAX>) |