Questinfo correction (#5523)
* Corrected questinfo bubble not always being displayed * Docs updated * Changed qi_display to std::vector Co-authored-by: Lemongrass3110 <lemongrass@kstp.at> Thanks to @lighta @aleos89 @Lemongrass3110 !
This commit is contained in:
@@ -3397,11 +3397,7 @@ int unit_free(struct block_list *bl, clr_type clrtype)
|
||||
sd->num_quests = sd->avail_quests = 0;
|
||||
}
|
||||
|
||||
if (sd->qi_display) {
|
||||
aFree(sd->qi_display);
|
||||
sd->qi_display = NULL;
|
||||
}
|
||||
sd->qi_count = 0;
|
||||
sd->qi_display.clear();
|
||||
|
||||
#if PACKETVER_MAIN_NUM >= 20150507 || PACKETVER_RE_NUM >= 20150429 || defined(PACKETVER_ZERO)
|
||||
sd->hatEffects.clear();
|
||||
|
||||
Reference in New Issue
Block a user