add unknown enemy type 0118

This commit is contained in:
Martin Michelsen
2023-12-08 09:51:57 -08:00
parent e901f5e681
commit bf17ec0943
2 changed files with 3 additions and 3 deletions
+3 -2
View File
@@ -109,8 +109,8 @@ Map::Enemy::Enemy(size_t source_index, uint8_t floor, EnemyType type)
}
string Map::Enemy::str() const {
return string_printf("[Map::Enemy source %zX %s flags=%02hhX last_hit_by_client_id=%hu]",
this->source_index, name_for_enum(this->type), this->state_flags, this->last_hit_by_client_id);
return string_printf("[Map::Enemy source %zX %s floor=%02hhX flags=%02hhX last_hit_by_client_id=%hu]",
this->source_index, name_for_enum(this->type), this->floor, this->state_flags, this->last_hit_by_client_id);
}
string Map::Object::str(shared_ptr<const ItemNameIndex> name_index) const {
@@ -585,6 +585,7 @@ void Map::add_enemy(
case 0x00C6: // TBoss3VoloptMonitor
case 0x00C7: // TBoss3VoloptHiraisin
case 0x0100:
case 0x0118:
add(EnemyType::UNKNOWN);
static_game_data_log.warning(
"(Entry %zu, offset %zX in file) Unknown enemy type %04hX",