aboutsummaryrefslogtreecommitdiff
path: root/src/serverobject.h
diff options
context:
space:
mode:
authorKahrl <kahrl@gmx.net>2012-03-19 03:04:16 +0100
committerPerttu Ahola <celeron55@gmail.com>2012-03-29 14:05:45 +0300
commitf8c3743991a6897c7133bf35dc2699b8b5f9df7c (patch)
treee856506d9c96d572d1a3b0a58edf00f0d70cba43 /src/serverobject.h
parent072c265c301d3336203b77b8b1651fdacf3a7682 (diff)
downloadminetest-f8c3743991a6897c7133bf35dc2699b8b5f9df7c.tar.gz
minetest-f8c3743991a6897c7133bf35dc2699b8b5f9df7c.tar.bz2
minetest-f8c3743991a6897c7133bf35dc2699b8b5f9df7c.zip
added PlayerSAO and RemotePlayer, removed ServerRemotePlayer
Diffstat (limited to 'src/serverobject.h')
-rw-r--r--src/serverobject.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/serverobject.h b/src/serverobject.h
index 15bbe52f7..8719267d7 100644
--- a/src/serverobject.h
+++ b/src/serverobject.h
@@ -143,7 +143,7 @@ public:
{}
virtual void setHP(s16 hp)
{}
- virtual s16 getHP()
+ virtual s16 getHP() const
{ return 0; }
// Inventory and wielded item