mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Core/Database: Include cleanup
This commit is contained in:
@@ -302,12 +302,7 @@ template<class TMap> class MapScript : public UpdatableScript<TMap>
|
||||
|
||||
protected:
|
||||
|
||||
MapScript(uint32 mapId)
|
||||
: _mapEntry(sMapStore.LookupEntry(mapId))
|
||||
{
|
||||
if (!_mapEntry)
|
||||
TC_LOG_ERROR("scripts", "Invalid MapScript for %u; no such map ID.", mapId);
|
||||
}
|
||||
MapScript(MapEntry const* mapEntry) : _mapEntry(mapEntry) { }
|
||||
|
||||
public:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user