Fixed VIP display directly after login
Thanks to @ecdarreola
This commit is contained in:
parent
4cf3794afd
commit
8053e36190
@ -1628,6 +1628,9 @@ void chrif_parse_ack_vipActive(int fd) {
|
||||
clif_displaymessage(sd->fd,msg_txt(sd,438));
|
||||
}
|
||||
}
|
||||
|
||||
clif_goldpc_info( *sd );
|
||||
|
||||
// Show info if status changed
|
||||
if (((flag&0x4) || changed) && !sd->vip.disableshowrate) {
|
||||
clif_display_pinfo(sd,ZC_PERSONAL_INFOMATION);
|
||||
|
@ -2123,7 +2123,9 @@ void pc_reg_received(struct map_session_data *sd)
|
||||
|
||||
if( battle_config.feature_goldpc_active ){
|
||||
sd->goldpc_tid = add_timer( gettick() + ( battle_config.feature_goldpc_time - pc_readreg2( sd, GOLDPC_SECONDS_VAR ) ) * 1000, pc_goldpc_update, sd->bl.id, NULL );
|
||||
#ifndef VIP_ENABLE
|
||||
clif_goldpc_info( *sd );
|
||||
#endif
|
||||
}else{
|
||||
sd->goldpc_tid = INVALID_TIMER;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user