summaryrefslogtreecommitdiff
path: root/src/map/atcommand.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-10-03 16:19:14 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-10-03 16:19:14 +0000
commitc2006cba2be4ba0588186a2f5f61cc7f73392b2b (patch)
tree56f567a48227df97e9171cb48d9f22af806fcfeb /src/map/atcommand.c
parent6094568a44e60c0ac6021cb9b44973e325dcae6e (diff)
downloadhercules-c2006cba2be4ba0588186a2f5f61cc7f73392b2b.tar.gz
hercules-c2006cba2be4ba0588186a2f5f61cc7f73392b2b.tar.bz2
hercules-c2006cba2be4ba0588186a2f5f61cc7f73392b2b.tar.xz
hercules-c2006cba2be4ba0588186a2f5f61cc7f73392b2b.zip
- Reverted declaration of run_script to normal since it appears there's no longer any memory leaks related to it.
- Returned the MAX_PC_BONUS value to 10. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8928 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/atcommand.c')
-rw-r--r--src/map/atcommand.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c
index a981f7e84..d0bf422e0 100644
--- a/src/map/atcommand.c
+++ b/src/map/atcommand.c
@@ -808,7 +808,7 @@ is_atcommand(const int fd, struct map_session_data* sd, const char* message, int
return AtCommand_None;
if (!gmlvl) gmlvl = pc_isGM(sd);
- type = atcommand(sd, gmlvl, str, &info);
+ type = atcommand(sd, gmlvl, str, &info);
if (type != AtCommand_None) {
char command[100];
const char* p = str;
@@ -7480,7 +7480,7 @@ atcommand_storeall(const int fd, struct map_session_data* sd,
return 0;
case 1: //Failure
clif_displaymessage(fd, "You can't open the storage currently.");
- return 1;
+ return -1;
}
}
for (i = 0; i < MAX_INVENTORY; i++) {