[Client] Fix crash on LInux

coverity_scan^2
Koncord 8 years ago
parent ed2176c984
commit cbace41e14

@ -1067,8 +1067,8 @@ 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();
if (actor.mCell != nullptr)
journalItem.actorCell = *actor.mCell->getCell();
journalItem.actorCellRef.mRefID = actor.getCellRef().getRefId();
journalItem.actorCellRef.mRefNum = actor.getCellRef().getRefNum();

Loading…
Cancel
Save