Returns a random explosion based on the explosion size
| 2401 | } |
| 2402 | // Returns a random explosion based on the explosion size |
| 2403 | int GetRandomExplosion(float size) { |
| 2404 | if (size > EXTRA_EXPLOSION_THRESHOLD) |
| 2405 | return BIG_EXPLOSION_INDEX; |
| 2406 | else |
| 2407 | return GetRandomMediumExplosion(); |
| 2408 | } |
| 2409 | // TODO: MTS: only found in this file. |
| 2410 | // Returns a random medium sized explosion |
| 2411 | int GetRandomMediumExplosion() { |
no test coverage detected