From 3d41fadd2f1a6fb3165559af5c010a164fa875df Mon Sep 17 00:00:00 2001 From: skotlex Date: Fri, 2 Mar 2007 16:39:33 +0000 Subject: - Modified set_reg so that it returns whether it succeeded or not in setting the requested variable. - Externalized battle skill range and blewcount bonus into their own static functions (battle_range_type & battle_blewcount_bonus). - Sped up the skill range flag setting code. - Added automatic support of damagesplit. This means that if a skill's nk value includes damage split among targets, it will do a divide by the number of targets (whereas before the list of skills where this worked was hardcoded) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9950 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/char_sql/char.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/char_sql/char.c') diff --git a/src/char_sql/char.c b/src/char_sql/char.c index 4db97be38..a9a90e228 100644 --- a/src/char_sql/char.c +++ b/src/char_sql/char.c @@ -1898,7 +1898,7 @@ int parse_tologin(int fd) { for(i = 0; i < fd_max && !( session[i] && (sd = (struct char_session_data*)session[i]->session_data) && - sd->account_id == RFIFOL(fd,2)) + sd->account_id == RFIFOL(fd,2)) ; i++); if (i < fd_max) { -- cgit v1.2.3-60-g2f50