summaryrefslogtreecommitdiff
path: root/src/map/atcommand.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-02-17 22:36:02 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-02-17 22:36:02 +0000
commitdb231e817c5f6d6783b07d91e1d8b0d1243829dd (patch)
tree853852da1f15559d5b43004476241a193c12ae44 /src/map/atcommand.c
parent472eb3bd0d8598c2230fc1d8959fcc7e0a450cac (diff)
downloadhercules-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/map/atcommand.c')
-rw-r--r--src/map/atcommand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c
index 0faa040ef..8da0f1265 100644
--- a/src/map/atcommand.c
+++ b/src/map/atcommand.c
@@ -5182,7 +5182,7 @@ int atcommand_disguise(const int fd, struct map_session_data* sd, const char* co
*------------------------------------------*/
int atcommand_disguiseall(const int fd, struct map_session_data* sd, const char* command, const char* message)
{
- int mob_id=0, i=0;
+ int mob_id=0;
struct map_session_data *pl_sd;
struct s_mapiterator* iter;
nullpo_retr(-1, sd);