diff options
author | Erik Schilling <ablu.erikschilling@googlemail.com> | 2013-04-27 21:09:23 +0200 |
---|---|---|
committer | Erik Schilling <ablu.erikschilling@googlemail.com> | 2013-05-08 14:02:51 +0200 |
commit | cec65058123f710643290c13b7f2b0512b878381 (patch) | |
tree | 8130d69617e8da8f1920ae5538a0b5a2d8d1bfd5 /src/scripting/luautil.h | |
parent | 0a1332f04b841bc32e09552665e5cd611fa23ca8 (diff) | |
download | manaserv-cec65058123f710643290c13b7f2b0512b878381.tar.gz manaserv-cec65058123f710643290c13b7f2b0512b878381.tar.xz manaserv-cec65058123f710643290c13b7f2b0512b878381.zip |
[Abilities] Removed the old autoattack system
As a side effect i had to remove the monster attack AI for now. I will
readd this as next thing.
Diffstat (limited to 'src/scripting/luautil.h')
-rw-r--r-- | src/scripting/luautil.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/scripting/luautil.h b/src/scripting/luautil.h index 9ea11c0..e7cbc75 100644 --- a/src/scripting/luautil.h +++ b/src/scripting/luautil.h @@ -34,7 +34,6 @@ extern "C" { #include <set> #include <vector> -#include "game-server/attack.h" #include "game-server/abilitymanager.h" class CharacterComponent; @@ -159,8 +158,6 @@ private: template <typename T> const char * LuaUserData<T>::mTypeName; -typedef LuaUserData<AttackInfo> LuaAttackInfo; -typedef LuaUserData<Damage> LuaDamage; typedef LuaUserData<Entity> LuaEntity; typedef LuaUserData<ItemClass> LuaItemClass; typedef LuaUserData<MapObject> LuaMapObject; @@ -210,11 +207,6 @@ inline void push(lua_State *s, double val) lua_pushnumber(s, val); } -inline void push(lua_State *s, AttackInfo *val) -{ - LuaAttackInfo::push(s, val); -} - inline void push(lua_State *s, MapObject *val) { LuaMapObject::push(s, val); |