diff options
Diffstat (limited to 'src/char/enemy.c')
-rw-r--r-- | src/char/enemy.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/char/enemy.c b/src/char/enemy.c index e480d10..7d913c4 100644 --- a/src/char/enemy.c +++ b/src/char/enemy.c @@ -88,6 +88,15 @@ _mf_enemy_step(struct mf_char *c) } static int +_mf_enemy_turn(struct mf_char *c) +{ + /* Go straight */ + c->new_dir = c->cur_dir; + + return 0; +} + +static int _mf_enemy_render(struct mf_char *c __attribute__((__unused__)), SDL_Renderer *renderer __attribute__((__unused__))) { |