Core/ObjectMgr: Move some npc_spellclick_spells and vehicle_accessory related errors to startup instead of post-startup runtime

This commit is contained in:
Machiavelli
2011-03-06 11:12:19 +01:00
parent df97ce7625
commit 6c4a0354a2
5 changed files with 27 additions and 10 deletions
@@ -559,8 +559,8 @@ void WorldSession::HandleSpellClick(WorldPacket & recv_data)
if (!unit->IsInWorld())
return;
if (!unit->HandleSpellClick(_player))
sLog->outErrorDb("Missing npc_spellclick_spells data for creature %u", unit->GetEntry());
bool unusedReturnValue = unit->HandleSpellClick(_player);
// ^ ignore compiler warning
}
void WorldSession::HandleMirrrorImageDataRequest(WorldPacket & recv_data)