summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorParadox924X <Paradox924X@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-08-20 18:56:23 +0000
committerParadox924X <Paradox924X@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-08-20 18:56:23 +0000
commit62515eac603cfe037311ebabbd855954e97fe9db (patch)
tree0c34c090d33a135a8b6db562a7d2d7765ac46176
parentdb231938e3326a22d90cfb1bc3c3ac6b4bc11728 (diff)
downloadhercules-62515eac603cfe037311ebabbd855954e97fe9db.tar.gz
hercules-62515eac603cfe037311ebabbd855954e97fe9db.tar.bz2
hercules-62515eac603cfe037311ebabbd855954e97fe9db.tar.xz
hercules-62515eac603cfe037311ebabbd855954e97fe9db.zip
Removed processing for undocumented and unused event 'OnCharIfInit' which is essentially an alias for event 'OnInterIfInit'.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14389 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r--Changelog-Trunk.txt1
-rw-r--r--src/map/chrif.c1
-rw-r--r--src/map/npc.c1
3 files changed, 1 insertions, 2 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt
index a066ac439..1fff7639e 100644
--- a/Changelog-Trunk.txt
+++ b/Changelog-Trunk.txt
@@ -4,6 +4,7 @@ AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
2010/08/20
+ * Removed processing for undocumented and unused event 'OnCharIfInit' which is essentially an alias for event 'OnInterIfInit'. [Paradox924X]
* Made it so global events don't get executed in duplicates to prevent unnecessary reprocessing of events that only need to be run once.
This potentially reduces the total number of global events by hundreds, even thousands. [Paradox924X]
* Added a few missing updates to the last packet update to properly support player clones and disguising. [Skotlex]
diff --git a/src/map/chrif.c b/src/map/chrif.c
index 15b9bd624..73549bf2b 100644
--- a/src/map/chrif.c
+++ b/src/map/chrif.c
@@ -433,7 +433,6 @@ int chrif_connectack(int fd)
chrif_sendmap(fd);
- ShowStatus("Event '"CL_WHITE"OnCharIfInit"CL_RESET"' executed with '"CL_WHITE"%d"CL_RESET"' NPCs.\n", npc_event_doall("OnCharIfInit"));
ShowStatus("Event '"CL_WHITE"OnInterIfInit"CL_RESET"' executed with '"CL_WHITE"%d"CL_RESET"' NPCs.\n", npc_event_doall("OnInterIfInit"));
if( !char_init_done ) {
char_init_done = true;
diff --git a/src/map/npc.c b/src/map/npc.c
index bce543dd8..a7f7c5b70 100644
--- a/src/map/npc.c
+++ b/src/map/npc.c
@@ -3333,7 +3333,6 @@ int npc_reload(void)
ShowStatus("Event '"CL_WHITE"OnInit"CL_RESET"' executed with '"CL_WHITE"%d"CL_RESET"' NPCs.\n",npc_event_doall("OnInit"));
// Execute rest of the startup events if connected to char-server. [Lance]
if(!CheckForCharServer()){
- ShowStatus("Event '"CL_WHITE"OnCharIfInit"CL_RESET"' executed with '"CL_WHITE"%d"CL_RESET"' NPCs.\n", npc_event_doall("OnCharIfInit"));
ShowStatus("Event '"CL_WHITE"OnInterIfInit"CL_RESET"' executed with '"CL_WHITE"%d"CL_RESET"' NPCs.\n", npc_event_doall("OnInterIfInit"));
ShowStatus("Event '"CL_WHITE"OnInterIfInitOnce"CL_RESET"' executed with '"CL_WHITE"%d"CL_RESET"' NPCs.\n", npc_event_doall("OnInterIfInitOnce"));
}