[Client] Don't get invalid cells in LocalPlayer::sendJournalEntry()

pull/163/head
David Cernat 8 years ago
parent b320910c5f
commit 37e7d2c15b

@ -1063,7 +1063,9 @@ void LocalPlayer::sendJournalEntry(const std::string& quest, int index, const MW
journalItem.quest = quest;
journalItem.index = index;
if (actor.getCell() != nullptr)
journalItem.actorCell = *actor.getCell()->getCell();
journalItem.actorCellRef.mRefID = actor.getCellRef().getRefId();
journalItem.actorCellRef.mRefNum = actor.getCellRef().getRefNum();

Loading…
Cancel
Save