Reverted wrong checkre() command optimization (bugreport:6426)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16599 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
4984ef5493
commit
79f3073e83
@ -16811,48 +16811,63 @@ BUILDIN_FUNC(checkre)
|
||||
case 0:
|
||||
#ifdef RENEWAL
|
||||
script_pushint(st, 1);
|
||||
#else
|
||||
script_pushint(st, 0);
|
||||
#endif
|
||||
break;
|
||||
case 1:
|
||||
#ifdef RENEWAL_CAST
|
||||
script_pushint(st, 1);
|
||||
#else
|
||||
script_pushint(st, 0);
|
||||
#endif
|
||||
break;
|
||||
case 2:
|
||||
#ifdef RENEWAL_DROP
|
||||
script_pushint(st, 1);
|
||||
#else
|
||||
script_pushint(st, 0);
|
||||
#endif
|
||||
break;
|
||||
case 3:
|
||||
#ifdef RENEWAL_EXP
|
||||
script_pushint(st, 1);
|
||||
#else
|
||||
script_pushint(st, 0);
|
||||
#endif
|
||||
break;
|
||||
case 4:
|
||||
#ifdef RENEWAL_LVDMG
|
||||
script_pushint(st, 1);
|
||||
#else
|
||||
script_pushint(st, 0);
|
||||
#endif
|
||||
break;
|
||||
case 5:
|
||||
#ifdef RENEWAL_CAST_VMIN
|
||||
script_pushint(st, 1);
|
||||
#else
|
||||
script_pushint(st, 0);
|
||||
#endif
|
||||
break;
|
||||
case 6:
|
||||
#ifdef RENEWAL_EDP
|
||||
script_pushint(st, 1);
|
||||
#else
|
||||
script_pushint(st, 0);
|
||||
#endif
|
||||
break;
|
||||
case 7:
|
||||
#ifdef RENEWAL_ASPD
|
||||
script_pushint(st, 1);
|
||||
#else
|
||||
script_pushint(st, 0);
|
||||
#endif
|
||||
break;
|
||||
default:
|
||||
ShowWarning("buildin_checkre: unknown parameter.\n");
|
||||
break;
|
||||
}
|
||||
script_pushint(st, 0);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user