summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFreeyorp <TheFreeYorp+git@gmail.com>2024-04-29 12:22:29 +0000
committerFreeyorp <TheFreeYorp+git@gmail.com>2024-04-29 12:43:39 +0000
commitaaaf2321b8a0e47c46f8ba8a2090c423f5947cf9 (patch)
treee6832a905c6905f122f368967fa7e56adb7f17db
parent04dfb9a9af92352af291ea8b1fa7150644614397 (diff)
downloadtmwa-aaaf2321b8a0e47c46f8ba8a2090c423f5947cf9.tar.gz
tmwa-aaaf2321b8a0e47c46f8ba8a2090c423f5947cf9.tar.bz2
tmwa-aaaf2321b8a0e47c46f8ba8a2090c423f5947cf9.tar.xz
tmwa-aaaf2321b8a0e47c46f8ba8a2090c423f5947cf9.zip
npc: formatting
Nice consistency there, past!Freeyorp.
-rw-r--r--src/map/npc.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/npc.cpp b/src/map/npc.cpp
index 930b9de..7d3e62b 100644
--- a/src/map/npc.cpp
+++ b/src/map/npc.cpp
@@ -767,7 +767,8 @@ int npc_click(dumb_ptr<map_session_data> sd, BlockId id)
}
}
- if (npc_checknear(sd, id)) {
+ if (npc_checknear(sd, id))
+ {
clif_scriptclose(sd, id);
return 1;
}