This commit is contained in:
MarcEricMartel
2023-12-06 13:42:15 -05:00
parent 1762043757
commit c47b36726b
3 changed files with 16 additions and 10 deletions

View File

@@ -1421,6 +1421,7 @@ void Engine::Render(float elapsedTime) {
if (m_syncs.count(sync.timestamp)) {
Sync comp = m_syncs[sync.timestamp];
m_player.InflictDamage(sync.hp - comp.hp);
Vector3f diff = sync.position - comp.position;