diff --git a/LuaEngine.h b/LuaEngine.h index ffe26be..812680a 100644 --- a/LuaEngine.h +++ b/LuaEngine.h @@ -32,6 +32,8 @@ typedef BattlegroundTypeId BattleGroundTypeId; struct ItemPrototype; typedef ItemPrototype ItemTemplate; typedef SpellEffectIndex SpellEffIndex; +struct SpellEntry; +typedef SpellEntry SpellInfo; #ifdef CLASSIC typedef int Difficulty; #endif diff --git a/MapMethods.h b/MapMethods.h index c1c9bee..fd20363 100644 --- a/MapMethods.h +++ b/MapMethods.h @@ -97,6 +97,7 @@ namespace LuaMap /** * Returns the height of the [Map] at the given X and Y coordinates + * In case of no height found nil is returned * * @param float x * @param float y