From 989aba1966373885d4cac306daea25e102f8d68d Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Fri, 9 Mar 2012 23:53:25 +0200 Subject: Fix and tune things, add tool "recharge" animation, add dummyball --- src/content_sao.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/content_sao.cpp') diff --git a/src/content_sao.cpp b/src/content_sao.cpp index 02a4eb1eb..568e4b1da 100644 --- a/src/content_sao.cpp +++ b/src/content_sao.cpp @@ -563,11 +563,11 @@ int LuaEntitySAO::punch(v3f dir, if(result.did_punch) { + setHP(getHP() - result.damage); + actionstream<getDescription()<<", damage "<