mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
Fix get_max_hp mehod in property example
This commit is contained in:
parent
eab1430ccd
commit
97806f2a7c
|
@ -15,7 +15,7 @@ public:
|
|||
}
|
||||
|
||||
int get_max_hp() const {
|
||||
return hp;
|
||||
return maxhp;
|
||||
}
|
||||
|
||||
void set_max_hp(int value) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user