diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-03-02 16:39:33 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-03-02 16:39:33 +0000 |
commit | 3d41fadd2f1a6fb3165559af5c010a164fa875df (patch) | |
tree | 11c0d7aaf9d31ac6e233ea58323fe643d7bd2347 /src/char/char.c | |
parent | 572e2c0dcc4e124136f9ad4bc493184e917e8f63 (diff) | |
download | hercules-3d41fadd2f1a6fb3165559af5c010a164fa875df.tar.gz hercules-3d41fadd2f1a6fb3165559af5c010a164fa875df.tar.bz2 hercules-3d41fadd2f1a6fb3165559af5c010a164fa875df.tar.xz hercules-3d41fadd2f1a6fb3165559af5c010a164fa875df.zip |
- 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
Diffstat (limited to 'src/char/char.c')
-rw-r--r-- | src/char/char.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/char/char.c b/src/char/char.c index 1e95d7644..2f6c0e2f5 100644 --- a/src/char/char.c +++ b/src/char/char.c @@ -2031,7 +2031,7 @@ int parse_tologin(int fd) { return 0; for(i = 0; i < fd_max && !( session[i] && - (sd = (struct char_session_data*)session[i]->session_data) && + (sd = (struct char_session_data*)session[i]->session_data) && sd->account_id == RFIFOL(fd,2)) ; i++); if (i < fd_max) { |