diff options
author | shennetsind <ind@henn.et> | 2013-09-27 14:31:26 -0300 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2013-09-27 14:32:05 -0300 |
commit | a4c5e17bba98d65bedf917c03bb60bf0550af688 (patch) | |
tree | add761fae1d3a240922ee6398305d35e4d1fce7d /src/map/script.c | |
parent | c08c02223390b162de6863a56ee7c823339654c4 (diff) | |
download | hercules-a4c5e17bba98d65bedf917c03bb60bf0550af688.tar.gz hercules-a4c5e17bba98d65bedf917c03bb60bf0550af688.tar.bz2 hercules-a4c5e17bba98d65bedf917c03bb60bf0550af688.tar.xz hercules-a4c5e17bba98d65bedf917c03bb60bf0550af688.zip |
HPM: Chat.c Completed
Moved missing vars and declarations of interest into the interface, removed duplicate mentions of chat within calls to shorten wherever it made sense to, and renamed some members to ease reading.
Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/script.c')
-rw-r--r-- | src/map/script.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/map/script.c b/src/map/script.c index 992f9da94..06c97bbe6 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -9988,7 +9988,7 @@ BUILDIN(waitingroom) { nd = (struct npc_data *)map->id2bl(st->oid); if( nd != NULL ) - chat->createnpcchat(nd, title, limit, pub, trigger, ev, zeny, minLvl, maxLvl); + chat->create_npc_chat(nd, title, limit, pub, trigger, ev, zeny, minLvl, maxLvl); return true; } @@ -10004,7 +10004,7 @@ BUILDIN(delwaitingroom) { else nd = (struct npc_data *)map->id2bl(st->oid); if( nd != NULL ) - chat->deletenpcchat(nd); + chat->delete_npc_chat(nd); return true; } @@ -10022,7 +10022,7 @@ BUILDIN(waitingroomkickall) { nd = (struct npc_data *)map->id2bl(st->oid); if( nd != NULL && (cd=(struct chat_data *)map->id2bl(nd->chat_id)) != NULL ) - chat->npckickall(cd); + chat->npc_kick_all(cd); return true; } @@ -10040,7 +10040,7 @@ BUILDIN(enablewaitingroomevent) { nd = (struct npc_data *)map->id2bl(st->oid); if( nd != NULL && (cd=(struct chat_data *)map->id2bl(nd->chat_id)) != NULL ) - chat->enableevent(cd); + chat->enable_event(cd); return true; } @@ -10058,7 +10058,7 @@ BUILDIN(disablewaitingroomevent) { nd = (struct npc_data *)map->id2bl(st->oid); if( nd != NULL && (cd=(struct chat_data *)map->id2bl(nd->chat_id)) != NULL ) - chat->disableevent(cd); + chat->disable_event(cd); return true; } |