Heightmap fix, texture fix, rotating crystals and enemy height to 0

This commit is contained in:
Dofensmirtsz
2016-06-21 23:31:43 +02:00
parent 0e99b9f719
commit 6306e8abd4
6 changed files with 7 additions and 3 deletions
+4
View File
@@ -18,6 +18,8 @@ Crystal::Crystal(const std::string & filled, const std::string & empty, const Ve
sound_id = CrystalPoint::GetSoundSystem().LoadSound("WAVE/Crystal.wav", false);
music = CrystalPoint::GetSoundSystem().GetSound(sound_id);
music->SetPos(position, Vec3f());
crystalRot = 0;
}
Crystal::~Crystal()
@@ -38,6 +40,8 @@ Crystal::~Crystal()
void Crystal::draw()
{
crystalRot -= 3.0f;
rotation = Vec3f(0, crystalRot, 0);
Entity::draw();
}