From e9cdb938fe44282e09fb88628a6e86e5e7279c69 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Sun, 4 Mar 2012 21:08:03 +0200 Subject: Entity damage system WIP; Remove C++ mobs --- src/luaentity_common.cpp | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'src/luaentity_common.cpp') diff --git a/src/luaentity_common.cpp b/src/luaentity_common.cpp index 40dc4de35..63c3f2d6b 100644 --- a/src/luaentity_common.cpp +++ b/src/luaentity_common.cpp @@ -25,6 +25,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #define PP2(x) "("<<(x).X<<","<<(x).Y<<")" LuaEntityProperties::LuaEntityProperties(): + hp_max(1), physical(false), weight(5), collisionbox(-0.5,-0.5,-0.5, 0.5,0.5,0.5), @@ -39,7 +40,8 @@ LuaEntityProperties::LuaEntityProperties(): std::string LuaEntityProperties::dump() { std::ostringstream os(std::ios::binary); - os<<"physical="<