| 36 | } |
| 37 | |
| 38 | static bool CollideWithSquare( const MapData::ModelDescription& model_description ) |
| 39 | { |
| 40 | // CYKABLAT! |
| 41 | // It seems, that original game uses cicrcles collision, if lower radius bit is 0, and square, if this bit is 1. |
| 42 | return ( int(model_description.radius * 256.0f) & 1 ) == 1; |
| 43 | } |
| 44 | |
| 45 | Map::Rocket::Rocket( |
| 46 | const EntityId in_rocket_id, |
no outgoing calls
no test coverage detected