diff options
author | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-07-31 06:42:14 +0000 |
---|---|---|
committer | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-07-31 06:42:14 +0000 |
commit | f2d7a74d9df57d9e3b9165799ea2759b23223469 (patch) | |
tree | d4846e3e911f8bbb168484b66f5d4cb8e68e4afb /src/map/atcommand.c | |
parent | c3c74c3bcbb9792ec60106443adc6bd790cfec1f (diff) | |
download | hercules-f2d7a74d9df57d9e3b9165799ea2759b23223469.tar.gz hercules-f2d7a74d9df57d9e3b9165799ea2759b23223469.tar.bz2 hercules-f2d7a74d9df57d9e3b9165799ea2759b23223469.tar.xz hercules-f2d7a74d9df57d9e3b9165799ea2759b23223469.zip |
@autoloot and @autolootitem can now be used together for more precise looting (no idea why it was blocked...)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13023 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/atcommand.c')
-rw-r--r-- | src/map/atcommand.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c index dab99cb51..5ea084efd 100644 --- a/src/map/atcommand.c +++ b/src/map/atcommand.c @@ -6038,14 +6038,9 @@ int atcommand_autoloot(const int fd, struct map_session_data* sd, const char* co }else clif_displaymessage(fd, "Autoloot is now off."); - if (sd->state.autoloot && sd->state.autolootid) { - // Autolootitem should be turned off - sd->state.autolootid = 0; - clif_displaymessage(fd, "Autolootitem is now off."); - } - return 0; } + /*========================================== * @autolootitem *------------------------------------------*/ @@ -6078,12 +6073,6 @@ int atcommand_autolootitem(const int fd, struct map_session_data* sd, const char item_data->name, item_data->jname, item_data->nameid); clif_displaymessage(fd, atcmd_output); - if (sd->state.autolootid && sd->state.autoloot) { - // Autoloot should be turned off - sd->state.autoloot = 0; - clif_displaymessage(fd, "Autoloot is now off (cannot be actitaved together)."); - } - return 0; } |