diff options
-rw-r--r-- | src/map/clif.cpp | 6 | ||||
-rw-r--r-- | src/map/pc.cpp | 3 |
2 files changed, 7 insertions, 2 deletions
diff --git a/src/map/clif.cpp b/src/map/clif.cpp index 327283a..2b4570e 100644 --- a/src/map/clif.cpp +++ b/src/map/clif.cpp @@ -4724,6 +4724,9 @@ void clif_sendallquest(dumb_ptr<map_session_data> sd) if (!sd->sess) return; + if(sd->client_version < 2) + return; + Session *s = sd->sess; Packet_Head<0x0215> head_215; std::vector<Packet_Repeat<0x0215>> repeat_215; @@ -4758,6 +4761,9 @@ void clif_sendquest(dumb_ptr<map_session_data> sd, QuestId questid, int value) if (!sd->sess) return; + if(sd->client_version < 2) + return; + Session *s = sd->sess; Packet_Fixed<0x0214> fixed; diff --git a/src/map/pc.cpp b/src/map/pc.cpp index cb81e29..d2b2f44 100644 --- a/src/map/pc.cpp +++ b/src/map/pc.cpp @@ -797,8 +797,7 @@ int pc_authok(AccountId id, int login_id2, pc_calcstatus(sd, 1); // Init Quest Log - if(sd->client_version >= 2) - clif_sendallquest(sd); + clif_sendallquest(sd); return 0; } |