1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-20 21:43:06 +01:00

add last_crash_type to ride struct

This commit is contained in:
IntelOrca
2015-06-16 00:16:59 +01:00
parent df491e58b9
commit 705efbeee9
2 changed files with 8 additions and 2 deletions

View File

@@ -238,7 +238,7 @@ static int award_is_deserved_safest(int awardType, int activeAwardTypes)
// Check for rides that have crashed maybe?
FOR_ALL_RIDES(i, ride)
if (ride->var_1AE != 0)
if (ride->last_crash_type != RIDE_CRASH_TYPE_NONE)
return 0;
return 1;