I hurt myself today ... because of the serveur.
This commit is contained in:
parent
948597361f
commit
b7b6a8cc7b
@ -1406,7 +1406,7 @@ void Engine::Render(float elapsedTime) {
|
|||||||
if (m_syncs.count(sync.timestamp)) {
|
if (m_syncs.count(sync.timestamp)) {
|
||||||
Sync comp = m_syncs[sync.timestamp];
|
Sync comp = m_syncs[sync.timestamp];
|
||||||
|
|
||||||
m_player.InflictDamage(sync.hp - comp.hp);
|
//m_player.InflictDamage(sync.hp - comp.hp);
|
||||||
|
|
||||||
Vector3f diff = sync.position - comp.position;
|
Vector3f diff = sync.position - comp.position;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user