summaryrefslogtreecommitdiff
path: root/src/content_sao.h
diff options
context:
space:
mode:
authorLoic Blot <loic.blot@unix-experience.fr>2018-03-29 13:41:48 +0200
committerLoic Blot <loic.blot@unix-experience.fr>2018-03-29 13:54:44 +0200
commit0396717256bb15ecb76469b7f148cfd6d952b34e (patch)
tree8e9d51825fb18aa1abeb2668cc0cb32c9f58fdf5 /src/content_sao.h
parentef979ee2e9b3109e2b5348014e7ae4b3efdd666c (diff)
downloadminetest-0396717256bb15ecb76469b7f148cfd6d952b34e.tar.gz
minetest-0396717256bb15ecb76469b7f148cfd6d952b34e.tar.bz2
minetest-0396717256bb15ecb76469b7f148cfd6d952b34e.zip
Fix a warning introduced by c5b4e541749c50805519ce040d98a0a8e5e0ec03
Diffstat (limited to 'src/content_sao.h')
-rw-r--r--src/content_sao.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/content_sao.h b/src/content_sao.h
index 10630014c..509f477dd 100644
--- a/src/content_sao.h
+++ b/src/content_sao.h
@@ -117,7 +117,7 @@ public:
void moveTo(v3f pos, bool continuous);
float getMinimumSavedMovement();
std::string getDescription();
- void setHP(s16 hp);
+ void setHP(s16 hp, const PlayerHPChangeReason &reason);
s16 getHP() const;
/* LuaEntitySAO-specific */
void setVelocity(v3f velocity);