diff options
author | P. J. McDermott <pj@pehjota.net> | 2021-08-19 14:52:02 (EDT) |
---|---|---|
committer | P. J. McDermott <pj@pehjota.net> | 2021-08-19 14:52:02 (EDT) |
commit | df2eee04d80992f4c76cb56503ee164c72d3ab32 (patch) | |
tree | a584790fe6419fd9d43759d16d686ae4e2692dee | |
parent | e08091bbf3735f04605c5bc84ad0b82ca960cbc3 (diff) | |
download | mazefight-df2eee04d80992f4c76cb56503ee164c72d3ab32.zip mazefight-df2eee04d80992f4c76cb56503ee164c72d3ab32.tar.gz mazefight-df2eee04d80992f4c76cb56503ee164c72d3ab32.tar.bz2 |
Revert "char/enemy: Add room for pointer in method decls"
This reverts commit ad6baa8005d083b5dbe8b4c3a68808b1819cd6ae.
-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 f8e91a3..a7a1251 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) { |