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-18 17:48:39 (EDT) |
commit | ad6baa8005d083b5dbe8b4c3a68808b1819cd6ae (patch) | |
tree | 73a2cef67941055d4f4cd453206307d02ebb89ad /src | |
parent | 554f5cd43ab4adb794edbf7fc7beb8cc21029ac0 (diff) | |
download | mazefight-ad6baa8005d083b5dbe8b4c3a68808b1819cd6ae.zip mazefight-ad6baa8005d083b5dbe8b4c3a68808b1819cd6ae.tar.gz mazefight-ad6baa8005d083b5dbe8b4c3a68808b1819cd6ae.tar.bz2 |
char/enemy: Add room for pointer in method decls
Diffstat (limited to 'src')
-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 a7a1251..f8e91a3 100644 --- a/src/char/enemy.c +++ b/src/char/enemy.c @@ -44,14 +44,14 @@ _mf_enemy_update(struct mf_char *c) 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) { |