|
@@ -1269,8 +1269,10 @@ bool pc_authok(struct map_session_data *sd, uint32 login_id2, time_t expiration_
|
|
sd->bonus_script.head = NULL;
|
|
sd->bonus_script.head = NULL;
|
|
sd->bonus_script.count = 0;
|
|
sd->bonus_script.count = 0;
|
|
|
|
|
|
|
|
+#if PACKETVER >= 20150513
|
|
sd->hatEffectIDs = NULL;
|
|
sd->hatEffectIDs = NULL;
|
|
sd->hatEffectCount = 0;
|
|
sd->hatEffectCount = 0;
|
|
|
|
+#endif
|
|
|
|
|
|
// Check EXP overflow, since in previous revision EXP on Max Level can be more than 'official' Max EXP
|
|
// Check EXP overflow, since in previous revision EXP on Max Level can be more than 'official' Max EXP
|
|
if (pc_is_maxbaselv(sd) && sd->status.base_exp > MAX_LEVEL_BASE_EXP) {
|
|
if (pc_is_maxbaselv(sd) && sd->status.base_exp > MAX_LEVEL_BASE_EXP) {
|