diff options
author | Haru <haru@dotalux.com> | 2020-03-08 22:32:22 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-08 22:32:22 +0100 |
commit | 21e3a41e912336914d0456257b6737dd2e9be0ef (patch) | |
tree | 02b2311c68e2301d5c2e1e73deb4b10777b0257a /src/map/npc.c | |
parent | 4891c9710015fdf98ebea2873802e993aa127654 (diff) | |
parent | 2f32871ca7790a4924dec19aeeabc1da6cb1fc32 (diff) | |
download | hercules-21e3a41e912336914d0456257b6737dd2e9be0ef.tar.gz hercules-21e3a41e912336914d0456257b6737dd2e9be0ef.tar.bz2 hercules-21e3a41e912336914d0456257b6737dd2e9be0ef.tar.xz hercules-21e3a41e912336914d0456257b6737dd2e9be0ef.zip |
Merge pull request #2546 from HerculesWS/unit_refactor
Refactor unit.c - Part I
Diffstat (limited to 'src/map/npc.c')
-rw-r--r-- | src/map/npc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/npc.c b/src/map/npc.c index e66888a74..2ac99948b 100644 --- a/src/map/npc.c +++ b/src/map/npc.c @@ -3391,7 +3391,7 @@ static bool npc_viewisid(const char *viewid) * @param class_ The NPC view class. * @return A pointer to the created NPC data (ownership passed to the caller). */ -static struct npc_data *npc_create_npc(enum npc_subtype subtype, int m, int x, int y, uint8 dir, int class_) +static struct npc_data *npc_create_npc(enum npc_subtype subtype, int m, int x, int y, enum unit_dir dir, int class_) { struct npc_data *nd; |