Werkt, maar loopt vast

This commit is contained in:
Daniel
2016-05-30 12:46:49 +02:00
parent a80fc69043
commit f0a8330819
3 changed files with 15 additions and 13 deletions
+2 -1
View File
@@ -1,6 +1,6 @@
#define _USE_MATH_DEFINES
#include <cmath>
#include "OpenAL.h"
#include "Enemy.h"
#include "Model.h"
#include <iostream>
@@ -53,6 +53,7 @@ void Enemy::update(float delta)
{
if (hasTarget)
{
OpenAL();
//just 2d walking
float dx, dz, length;