ReceivedOilSpill matching
This commit is contained in:
parent
c775286457
commit
d8a0af7e5b
|
|
@ -504,8 +504,7 @@ void ReceivedOilSpill(tNet_contents* pContents) {
|
|||
if (gOily_spills[i].car == NULL) {
|
||||
oily_index = i;
|
||||
break;
|
||||
}
|
||||
if (gOily_spills[i].spill_time < oldest_time) {
|
||||
} else if (gOily_spills[i].spill_time < oldest_time) {
|
||||
oldest_time = gOily_spills[i].spill_time;
|
||||
oldest_one = i;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue