diff options
author | P. J. McDermott <pj@pehjota.net> | 2021-08-18 17:46:07 (EDT) |
---|---|---|
committer | P. J. McDermott <pj@pehjota.net> | 2021-08-19 15:14:31 (EDT) |
commit | 7a5f3b698b943423f2b365c31ca8582b7b9d8035 (patch) | |
tree | 1d5c5241093d3fcf5096e916c0d62775e87bab28 /src/char | |
parent | 9ab79e75948025f640d2042f5c01daea8b6d3010 (diff) | |
download | mazefight-7a5f3b698b943423f2b365c31ca8582b7b9d8035.zip mazefight-7a5f3b698b943423f2b365c31ca8582b7b9d8035.tar.gz mazefight-7a5f3b698b943423f2b365c31ca8582b7b9d8035.tar.bz2 |
char/enemy: Add room for pointer in method decls
Diffstat (limited to 'src/char')
-rw-r--r-- | src/char/enemy.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/char/enemy.c b/src/char/enemy.c index 8cd2a21..b8836fb 100644 --- a/src/char/enemy.c +++ b/src/char/enemy.c @@ -39,14 +39,14 @@ _mf_enemy_update(struct mf_char *c __attribute__((__unused__))) static int _mf_enemy_step(struct mf_char *c) { - enum _mf_char_dir dirs[4] = {MF_CHAR_DIR_U_, MF_CHAR_DIR_D_, - MF_CHAR_DIR_L_, MF_CHAR_DIR_R_}; - int i; - int j; - int t; - enum _mf_char_dir back; - int dx; - int dy; + enum _mf_char_dir dirs[4] = {MF_CHAR_DIR_U_, MF_CHAR_DIR_D_, + MF_CHAR_DIR_L_, MF_CHAR_DIR_R_}; + int i; + int j; + int t; + enum _mf_char_dir back; + int dx; + int dy; /* Shuffle directions */ for (i = 0; i < 4; ++i) { |