Skip to content

Commit

Permalink
Fix get_max_hp mehod in property example
Browse files Browse the repository at this point in the history
  • Loading branch information
C3pa authored and ThePhD committed Jul 18, 2023
1 parent eab1430 commit 97806f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/source/property.cpp
Expand Up @@ -15,7 +15,7 @@ class Player {
}

int get_max_hp() const {
return hp;
return maxhp;
}

void set_max_hp(int value) {
Expand Down

0 comments on commit 97806f2

Please sign in to comment.