summaryrefslogtreecommitdiff
path: root/src/emap/clif.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-10-21 19:34:24 +0300
committerAndrei Karas <akaras@inbox.ru>2015-10-21 19:34:24 +0300
commit4f45fd0d497028ef66d6e4c0313e874f9fd0984b (patch)
tree812ee82762f2b6ee7cd9b49e87d7bdac87a1bc56 /src/emap/clif.c
parent6b4175131b4fc9838dbab3c3a564f65338adda41 (diff)
downloadplugin-4f45fd0d497028ef66d6e4c0313e874f9fd0984b.tar.gz
plugin-4f45fd0d497028ef66d6e4c0313e874f9fd0984b.tar.bz2
plugin-4f45fd0d497028ef66d6e4c0313e874f9fd0984b.tar.xz
plugin-4f45fd0d497028ef66d6e4c0313e874f9fd0984b.zip
Fix translations on almost destroed server.
Diffstat (limited to 'src/emap/clif.c')
-rw-r--r--src/emap/clif.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/emap/clif.c b/src/emap/clif.c
index 4de666f..24265e4 100644
--- a/src/emap/clif.c
+++ b/src/emap/clif.c
@@ -29,6 +29,8 @@
#include "emap/struct/mapdext.h"
#include "emap/struct/sessionext.h"
+extern bool isInit;
+
void eclif_quest_send_list(TBL_PC *sd)
{
if (!sd)
@@ -710,7 +712,7 @@ void eclif_disp_message(struct block_list* src,
int len = *lenPtr;
- if (len == 0)
+ if (len == 0 || !isInit)
return;
nullpo_retv(src);