| 1334 | |
| 1335 | |
| 1336 | uint Aircraft::Crash(bool flooded) |
| 1337 | { |
| 1338 | uint victims = Vehicle::Crash(flooded) + 2; // pilots |
| 1339 | this->crashed_counter = flooded ? 9000 : 0; // max 10000, disappear pretty fast when flooded |
| 1340 | |
| 1341 | return victims; |
| 1342 | } |
| 1343 | |
| 1344 | /** |
| 1345 | * Bring the aircraft in a crashed state, create the explosion animation, and create a news item about the crash. |