Core/Vehicles: Correct usage of npc_spellclick_spells instead of blatant hacks for vehicle entry.

Note: This may break a few vehicles, but only due to the absence of proper, non-hackish data.
This commit is contained in:
Machiavelli
2011-02-26 23:00:09 +01:00
parent 8497fb27e9
commit 3ac80ee3a4
9 changed files with 179 additions and 58 deletions
+1 -1
View File
@@ -335,7 +335,7 @@ struct SpellClickInfo
SpellClickUserTypes userType;
// helpers
bool IsFitToRequirements(Player const* player, Creature const * clickNpc) const;
bool IsFitToRequirements(Unit const* clicker, Unit const * clickee) const;
};
typedef std::multimap<uint32, SpellClickInfo> SpellClickInfoMap;