From c2006cba2be4ba0588186a2f5f61cc7f73392b2b Mon Sep 17 00:00:00 2001 From: skotlex Date: Tue, 3 Oct 2006 16:19:14 +0000 Subject: - 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 --- src/map/atcommand.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/map/atcommand.c') 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++) { -- cgit v1.2.3-70-g09d2