mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 22:37:03 +00:00
[0056] Fix for creature spawnmask 1 warning in map 0. Map 0 was removed from DBC
This commit is contained in:
parent
9286040179
commit
cc46cae74a
2 changed files with 3 additions and 2 deletions
|
|
@ -1250,7 +1250,8 @@ void ObjectMgr::LoadCreatures()
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (data.spawnMask & ~spawnMasks[data.mapid])
|
// Map 0 was removed from dbc as of 4.x.x
|
||||||
|
if ((data.spawnMask & ~spawnMasks[data.mapid]) && data.mapid !=0)
|
||||||
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 "0055"
|
#define REVISION_NR "0056"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue