From 97806f2a7cdb18d5582f751b1b56c7b88b754977 Mon Sep 17 00:00:00 2001 From: C3pa <41503714+C3pa@users.noreply.github.com> Date: Sat, 18 Feb 2023 18:27:03 +0100 Subject: [PATCH] Fix get_max_hp mehod in property example --- examples/source/property.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {