Fixing player HP display

This commit is contained in:
Vladislav Khorev committed 2026-11-07 01:57:29 +06:00
1 parent f4bd3b6bed
commit b932a07cba
3 files changed
+33 -14

No files matched your search

-2
View File
@@ -46,8 +46,6 @@ struct GameSnapshot {
bool isDarklands = false;
bool isNight = false;
bool isDawn = false;
float playerHp = 0.f;
float playerMaxHp = 0.f;
int money = 0;
TutorialStep tutorialStep = TutorialStep::Completed;
bool tutorialPhoneChatScreenOpened = false;
-2
View File
@@ -192,8 +192,6 @@ GameSnapshot InternalGameServer::buildSnapshot() const
result.isDarklands = state_.isDarklands;
result.isNight = state_.isNight;
result.isDawn = state_.isDawn;
result.playerHp = state_.playerHp;
result.playerMaxHp = state_.playerMaxHp;
result.money = state_.money;
result.tutorialStep = state_.tutorialStep;
result.tutorialPhoneChatScreenOpened = state_.tutorialPhoneChatScreenOpened;