From 95b5ba6f52397fbca261fe84641836754b40b69b Mon Sep 17 00:00:00 2001 From: Andrei Abrudan Date: Thu, 30 Jun 2022 19:38:34 +0100 Subject: [PATCH] Changed propType that triggers the cheat --- cheat-library/src/user/cheat/player/InfiniteStamina.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cheat-library/src/user/cheat/player/InfiniteStamina.cpp b/cheat-library/src/user/cheat/player/InfiniteStamina.cpp index 2fd7436..57e57b9 100644 --- a/cheat-library/src/user/cheat/player/InfiniteStamina.cpp +++ b/cheat-library/src/user/cheat/player/InfiniteStamina.cpp @@ -62,7 +62,7 @@ namespace cheat::feature propType != PT::PROP_CUR_PERSIST_STAMINA && propType != PT::PROP_CUR_TEMPORARY_STAMINA); - if (propType == PT::PROP_PLAYER_LEVEL) + if (propType == PT::PROP_PLAYER_WORLD_LEVEL_LIMIT) max_stamina = true; if (propType == PT::PROP_MAX_STAMINA) max_stamina = false;