summaryrefslogtreecommitdiff
path: root/src/map/atcommand.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/atcommand.c')
-rw-r--r--src/map/atcommand.c13
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;
}