diff options
author | nathansmithsmith <nathansmith7@mailfence.com> | 2023-09-14 00:11:04 -0600 |
---|---|---|
committer | nathansmithsmith <nathansmith7@mailfence.com> | 2023-09-14 00:11:04 -0600 |
commit | b14a7bb1e4e2e71a8fef86fcfec4ad9501768e57 (patch) | |
tree | b4dfb0b946c649583f4eebc8016e1d85c5984625 /src/entities/maresciallo.c | |
parent | 3b22489413553e837a7da437b2c3cd69823095ab (diff) |
Started laser and fixed world bug
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); } |