diff --git a/src/world/Actor/Player.cpp b/src/world/Actor/Player.cpp index e949afab..cd8d6c79 100644 --- a/src/world/Actor/Player.cpp +++ b/src/world/Actor/Player.cpp @@ -603,8 +603,7 @@ void Sapphire::Entity::Player::discover( int16_t map_id, int16_t sub_id ) int32_t offset = 4; - auto info = exdData.get< Sapphire::Data::Map >( - exdData.get< Sapphire::Data::TerritoryType >( getCurrentTerritory()->getTerritoryTypeId() )->map ); + auto info = exdData.get< Sapphire::Data::Map >( map_id ); if( info->discoveryArrayByte ) offset = 5 + 2 * info->discoveryIndex; else