diff --git a/examples/source/property.cpp b/examples/source/property.cpp index 2f173734..ae593f1b 100644 --- a/examples/source/property.cpp +++ b/examples/source/property.cpp @@ -15,7 +15,7 @@ public: } int get_max_hp() const { - return hp; + return maxhp; } void set_max_hp(int value) {