| 389 | } |
| 390 | |
| 391 | void Map::SpawnMonsterBodyPart( |
| 392 | const unsigned char monster_type_id, const unsigned char body_part_id, |
| 393 | const m_Vec3& pos, float angle ) |
| 394 | { |
| 395 | monsters_parts_birth_messages_.emplace_back(); |
| 396 | Messages::MonsterPartBirth& message= monsters_parts_birth_messages_.back(); |
| 397 | |
| 398 | message.monster_type= monster_type_id; |
| 399 | message.part_id= body_part_id; |
| 400 | |
| 401 | PositionToMessagePosition( pos, message.xyz ); |
| 402 | message.angle= AngleToMessageAngle( angle ); |
| 403 | } |
| 404 | |
| 405 | void Map::PlayMonsterLinkedSound( |
| 406 | const EntityId monster_id, |
no test coverage detected