revert commit

This commit is contained in:
Remco
2016-06-22 02:00:30 +02:00
4 changed files with 8 additions and 22 deletions
+3 -2
View File
@@ -334,9 +334,10 @@ void World::update(float elapsedTime)
}
}
if (enemy->attack())
if (enemy->attack)
{
player->HpDown(enemy->damage);
remove = true;
continue;
}
enemy->position.y = getHeight(enemy->position.x, enemy->position.z) + 2.0f;