1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-03-05 18:19:41 +00:00

[Client] Fix crash when receiving ActiveSpells for uninitialized players

This commit is contained in:
David Cernat 2021-10-12 03:51:14 +02:00
parent 63c956e1d2
commit fb49b62753

View file

@ -38,7 +38,7 @@ namespace mwmp
localPlayer.setSpellsActive();
}
}
else
else if (player != 0)
{
LOG_APPEND(TimedLog::LOG_INFO, "- Packet was about %s", player->npc.mName.c_str());