Fix for player hp updates not matching between client and server

This commit is contained in:
Uleat
2020-01-28 21:24:14 -05:00
parent c82d08cf11
commit 92d32feb0d
4 changed files with 22 additions and 1 deletions
+4
View File
@@ -336,6 +336,10 @@ int32 Client::CalcMaxHP()
current_hp = curHP_cap;
}
}
// hack fix for client health not reflecting server value
last_max_hp = 0;
return max_hp;
}