|
@ -83,7 +83,8 @@ pub fn player_chose_quest(id: ClientId, questmenuselect: &QuestMenuSelect, quest |
|
|
let room = rooms.get_mut(room_id.0)
|
|
|
let room = rooms.get_mut(room_id.0)
|
|
|
.ok_or_else(|| ShipError::InvalidRoom(room_id.0 as u32))?.as_mut()
|
|
|
.ok_or_else(|| ShipError::InvalidRoom(room_id.0 as u32))?.as_mut()
|
|
|
.ok_or_else(|| ShipError::InvalidRoom(room_id.0 as u32))?;
|
|
|
.ok_or_else(|| ShipError::InvalidRoom(room_id.0 as u32))?;
|
|
|
room.maps.set_quest_data(quest.enemies.clone(), quest.objects.clone());
|
|
|
|
|
|
|
|
|
// room.maps.set_quest_data(quest.enemies.clone(), quest.objects.clone());
|
|
|
|
|
|
room.maps.set_quest_data(quest.enemies.clone(), quest.objects.clone(), &room.rare_monster_table);
|
|
|
room.map_areas = quest.map_areas.clone();
|
|
|
room.map_areas = quest.map_areas.clone();
|
|
|
|
|
|
|
|
|
let bin = quest::quest_header(questmenuselect, &quest.bin_blob, "bin");
|
|
|
let bin = quest::quest_header(questmenuselect, &quest.bin_blob, "bin");
|
|
|