-Follow up r17232 fix wrong index assignement in deleting chan. (issue created in r17232 sorry)
rechange unwanted chande for pincode default value. git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17233 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
29970729cf
commit
6073dd60b9
@ -165,7 +165,7 @@ db_path: db
|
||||
// NOTE: Requires client 2011-03-09aragexeRE or newer.
|
||||
// A window is opened before you can select your character and you will have to enter a pincode by using only your mouse.
|
||||
// Default: yes
|
||||
pincode_enabled: no
|
||||
pincode_enabled: yes
|
||||
|
||||
// How often does a user have to change his pincode?
|
||||
// 0: never (default)
|
||||
|
@ -5585,11 +5585,10 @@ void clif_chsys_left(struct raChSysCh *channel, struct map_session_data *sd) {
|
||||
for( i = 0; i < sd->channel_count; i++ ) {
|
||||
if( sd->channels[i] == NULL )
|
||||
continue;
|
||||
if( cursor != i ) {
|
||||
if( cursor != i )
|
||||
sd->channels[cursor] = sd->channels[i];
|
||||
cursor++;
|
||||
}
|
||||
}
|
||||
if ( !(sd->channel_count = cursor) ) {
|
||||
aFree(sd->channels);
|
||||
sd->channels = NULL;
|
||||
@ -5612,11 +5611,10 @@ void clif_chsys_delete(struct raChSysCh *channel) {
|
||||
for( i = 0; i < sd->channel_count; i++ ) { //move down links
|
||||
if( sd->channels[i] == NULL )
|
||||
continue;
|
||||
if( cursor != i ) {
|
||||
if( cursor != i )
|
||||
sd->channels[cursor] = sd->channels[i];
|
||||
cursor++;
|
||||
}
|
||||
}
|
||||
if ( !(sd->channel_count = cursor) ) { //news chan count = total
|
||||
aFree(sd->channels);
|
||||
sd->channels = NULL;
|
||||
|
Loading…
x
Reference in New Issue
Block a user