| 2666 | } |
| 2667 | |
| 2668 | void Map::TryWarnMonsters( const m_Vec3& pos, const Time current_time ) |
| 2669 | { |
| 2670 | for( const MonstersContainer::value_type& monster_value : monsters_ ) |
| 2671 | { |
| 2672 | const MonsterBasePtr& monster= monster_value.second; |
| 2673 | PC_ASSERT( monster != nullptr ); |
| 2674 | monster->TryWarn( pos, *this, monster_value.first, current_time ); |
| 2675 | } |
| 2676 | } |
| 2677 | |
| 2678 | void Map::MoveMapObjects( const Time current_time ) |
| 2679 | { |