mirror of
https://github.com/mangosfour/server.git
synced 2025-12-12 19:37:03 +00:00
[0069] Better fix for spawnMask 1 in map 0 error. Thanks VladimirMangos for explaining how to specify map 0.
This commit is contained in:
parent
26827d9320
commit
81787fa460
2 changed files with 3 additions and 2 deletions
|
|
@ -1251,7 +1251,8 @@ void ObjectMgr::LoadCreatures()
|
||||||
}
|
}
|
||||||
|
|
||||||
// Map 0 was removed from dbc as of 4.x.x
|
// Map 0 was removed from dbc as of 4.x.x
|
||||||
if ((data.spawnMask & ~spawnMasks[data.mapid]) && data.mapid !=0)
|
spawnMasks[0] = 1;
|
||||||
|
if (data.spawnMask & ~spawnMasks[data.mapid])
|
||||||
sLog.outErrorDb("Table `creature` have creature (GUID: %u) that have wrong spawn mask %u including not supported difficulty modes for map (Id: %u).", guid, data.spawnMask, data.mapid);
|
sLog.outErrorDb("Table `creature` have creature (GUID: %u) that have wrong spawn mask %u including not supported difficulty modes for map (Id: %u).", guid, data.spawnMask, data.mapid);
|
||||||
|
|
||||||
bool ok = true;
|
bool ok = true;
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "0068"
|
#define REVISION_NR "0069"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue