forked from mirror/openmw-tes3mp
[Client] Ignore WorldRegionAuthority packets that have an empty region
This commit is contained in:
parent
99e64bdcd7
commit
3944c8aec6
1 changed files with 2 additions and 1 deletions
|
@ -19,7 +19,8 @@ namespace mwmp
|
|||
{
|
||||
MWBase::World *world = MWBase::Environment::get().getWorld();
|
||||
|
||||
if (Misc::StringUtils::ciEqual(worldstate.authorityRegion, world->getPlayerPtr().getCell()->getCell()->mRegion))
|
||||
if (!worldstate.authorityRegion.empty() && Misc::StringUtils::ciEqual(worldstate.authorityRegion,
|
||||
world->getPlayerPtr().getCell()->getCell()->mRegion))
|
||||
{
|
||||
LOG_MESSAGE_SIMPLE(Log::LOG_INFO, "Received %s about %s", strPacketID.c_str(), worldstate.authorityRegion.c_str());
|
||||
|
||||
|
|
Loading…
Reference in a new issue