mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-26 06:21:29 -04:00
[Client] Fix crash on LInux
This commit is contained in:
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…
x
Reference in New Issue
Block a user