diff options
author | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-06-29 06:00:05 +0000 |
---|---|---|
committer | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-06-29 06:00:05 +0000 |
commit | 04fca41114ed5266a9bdbec60cad4bcdf4541be8 (patch) | |
tree | 48f42bb85193af20e8c6a19fdc117d624c781f16 /src/map/npc.c | |
parent | 7845b8fdccdea16d271580f43c5206365ff7719a (diff) | |
download | hercules-04fca41114ed5266a9bdbec60cad4bcdf4541be8.tar.gz hercules-04fca41114ed5266a9bdbec60cad4bcdf4541be8.tar.bz2 hercules-04fca41114ed5266a9bdbec60cad4bcdf4541be8.tar.xz hercules-04fca41114ed5266a9bdbec60cad4bcdf4541be8.zip |
Random assortment of various small corrections and tweaks.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12894 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/npc.c')
-rw-r--r-- | src/map/npc.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/map/npc.c b/src/map/npc.c index 52adadf29..8ec20c487 100644 --- a/src/map/npc.c +++ b/src/map/npc.c @@ -2060,16 +2060,16 @@ void npc_setcells(struct npc_data* nd) switch(nd->subtype) { - case WARP: - xs = nd->u.warp.xs; - ys = nd->u.warp.ys; - break; - case SCRIPT: - xs = nd->u.scr.xs; - ys = nd->u.scr.ys; - break; - default: - return; // Other types doesn't have touch area + case WARP: + xs = nd->u.warp.xs; + ys = nd->u.warp.ys; + break; + case SCRIPT: + xs = nd->u.scr.xs; + ys = nd->u.scr.ys; + break; + default: + return; // Other types doesn't have touch area } if (m < 0 || xs < 0 || ys < 0) @@ -2896,7 +2896,7 @@ int npc_reload(void) "\t-'"CL_WHITE"%d"CL_RESET"' Warps\n" "\t-'"CL_WHITE"%d"CL_RESET"' Shops\n" "\t-'"CL_WHITE"%d"CL_RESET"' Scripts\n" - "\t-'"CL_WHITE"%d"CL_RESET"' Mob sets\n" + "\t-'"CL_WHITE"%d"CL_RESET"' Spawn sets\n" "\t-'"CL_WHITE"%d"CL_RESET"' Mobs Cached\n" "\t-'"CL_WHITE"%d"CL_RESET"' Mobs Not Cached\n", npc_id - npc_new_min, npc_warp, npc_shop, npc_script, npc_mob, npc_cache_mob, npc_delay_mob); @@ -3007,7 +3007,7 @@ int do_init_npc(void) "\t-'"CL_WHITE"%d"CL_RESET"' Warps\n" "\t-'"CL_WHITE"%d"CL_RESET"' Shops\n" "\t-'"CL_WHITE"%d"CL_RESET"' Scripts\n" - "\t-'"CL_WHITE"%d"CL_RESET"' Mob sets\n" + "\t-'"CL_WHITE"%d"CL_RESET"' Spawn sets\n" "\t-'"CL_WHITE"%d"CL_RESET"' Mobs Cached\n" "\t-'"CL_WHITE"%d"CL_RESET"' Mobs Not Cached\n", npc_id - START_NPC_NUM, npc_warp, npc_shop, npc_script, npc_mob, npc_cache_mob, npc_delay_mob); |