diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-02-17 22:36:02 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-02-17 22:36:02 +0000 |
commit | db231e817c5f6d6783b07d91e1d8b0d1243829dd (patch) | |
tree | 853852da1f15559d5b43004476241a193c12ae44 /src/char | |
parent | 472eb3bd0d8598c2230fc1d8959fcc7e0a450cac (diff) | |
download | hercules-db231e817c5f6d6783b07d91e1d8b0d1243829dd.tar.gz hercules-db231e817c5f6d6783b07d91e1d8b0d1243829dd.tar.bz2 hercules-db231e817c5f6d6783b07d91e1d8b0d1243829dd.tar.xz hercules-db231e817c5f6d6783b07d91e1d8b0d1243829dd.zip |
- Updated Eye of Hellion to use the new format of the input command.
- corrected login_fd/char_fd being uninitialized in the char servers.
- Changed a bit around how status_base_atk works to avoid overflows.
- Added a check to prevent using consume-delay items when you cannot use skills, since that opens an exploit if the item also has non-skill-casting components to its script.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12214 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/char')
-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 d853a72ba..ae0c8593e 100644 --- a/src/char/char.c +++ b/src/char/char.c @@ -64,7 +64,7 @@ struct mmo_map_server { unsigned short map[MAX_MAP_PER_SERVER]; } server[MAX_MAP_SERVERS]; -int login_fd, char_fd; +int login_fd=-1, char_fd=-1; char userid[24]; char passwd[24]; char server_name[20]; |