summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-04-07 02:58:32 -0300
committershennetsind <ind@henn.et>2013-04-07 02:58:32 -0300
commita65f8d7df4be648f25563fe0d0ce9f77199d8fbc (patch)
treec9a36b0c3c0a5ce1b858b27d0393ec08eaf1790b /src/map/clif.c
parent2f9f7ce4aa46514c9173a3c91f4033b25901520e (diff)
downloadhercules-a65f8d7df4be648f25563fe0d0ce9f77199d8fbc.tar.gz
hercules-a65f8d7df4be648f25563fe0d0ce9f77199d8fbc.tar.bz2
hercules-a65f8d7df4be648f25563fe0d0ce9f77199d8fbc.tar.xz
hercules-a65f8d7df4be648f25563fe0d0ce9f77199d8fbc.zip
Introducing clif->pDull
placeholder for unsupported incoming packets (avoids server disconnecting client) Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 63e72b3bb..4d2373f17 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -16279,6 +16279,10 @@ void clif_monster_hp_bar( struct mob_data* md, int fd ) {
WFIFOSET(fd,packet_len(0x977));
#endif
}
+/* [Ind/Hercules] placeholder for unsupported incoming packets (avoids server disconnecting client) */
+void __attribute__ ((unused)) clif_parse_dull(int fd,struct map_session_data *sd) {
+ return;
+}
/*==========================================
* Main client packet processing function
@@ -17137,4 +17141,5 @@ void clif_defaults(void) {
clif->pDebug = clif_parse_debug;
clif->pSkillSelectMenu = clif_parse_SkillSelectMenu;
clif->pMoveItem = clif_parse_MoveItem;
+ clif->pDull = clif_parse_dull;
}