diff options
author | Haru <haru@dotalux.com> | 2016-09-18 01:36:17 +0200 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2016-09-18 01:44:48 +0200 |
commit | 9068ec7dc0e85cd3f7f8f9a11a3b7f06dc24f4f6 (patch) | |
tree | d6132f5dcbcc8b5caae346169f9b1e26b76c6405 /src/map/map.c | |
parent | c940d5f31aea1220c684189dc06206a400f59e99 (diff) | |
download | hercules-9068ec7dc0e85cd3f7f8f9a11a3b7f06dc24f4f6.tar.gz hercules-9068ec7dc0e85cd3f7f8f9a11a3b7f06dc24f4f6.tar.bz2 hercules-9068ec7dc0e85cd3f7f8f9a11a3b7f06dc24f4f6.tar.xz hercules-9068ec7dc0e85cd3f7f8f9a11a3b7f06dc24f4f6.zip |
Removed special handling of "clear" in npc->addsrcfile()
- Use npc->clearsrcfile() instead.
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/map.c')
-rw-r--r-- | src/map/map.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/map.c b/src/map/map.c index 308aa82cc..47e22fa9b 100644 --- a/src/map/map.c +++ b/src/map/map.c @@ -4212,7 +4212,7 @@ bool map_read_npclist(const char *filename, bool imported) void map_reloadnpc(bool clear) { int i; if (clear) - npc->addsrcfile("clear"); // this will clear the current script list + npc->clearsrcfile(); #ifdef RENEWAL map->read_npclist("npc/re/scripts_main.conf", false); |