diff options
Diffstat (limited to 'src/entities/maresciallo.c')
-rw-r--r-- | src/entities/maresciallo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/entities/maresciallo.c b/src/entities/maresciallo.c index 826a7d4..98fc19f 100644 --- a/src/entities/maresciallo.c +++ b/src/entities/maresciallo.c @@ -115,7 +115,7 @@ void updateGunMaresciallo(Game * game, Entity * entity) { Bullet bullet = createBulletFromDirection(*entity, direction, MARESCIALLO_BULLET_DAMAGE); BulletHitInfo hit = shootBulletAtEntity(player, bullet); - printf("This fucker hithit ajskdlfjkl %d\n", hit.hit); + //printf("This fucker hithit ajskdlfjkl %d\n", hit.hit); data->timeSinceLastBulletShot = t; } @@ -146,12 +146,12 @@ void updateMaresciallo(Game * game, Entity * entity) { // Fly away if to close to player. if (dis < MARESCIALLO_CIRCLE_AT_DIS - 1 || dis >= MARESCIALLO_COME_BACK_AT_DIS) { flyToPointMaresciallo(game, entity); - updateMissilesMaresciallo(game, entity); } else { circlePlayerMaresciallo(game, entity); } updateGunMaresciallo(game, entity); + updateMissilesMaresciallo(game, entity); entityCheckTransformedCollisionModel(entity); } |