From c8d4b89b3de0e8db730fbd375c5b4abd38ac6dff Mon Sep 17 00:00:00 2001 From: skotlex Date: Tue, 1 Aug 2006 17:59:34 +0000 Subject: - Cleaned up some more the SC_JAILED code - merged in atcommands jailfor, jailtime, charjailtime. Thanks to Meruru and Coltaro for the code. - Cleaned the code of atcommnds jail and unjail - Be warned that the code MAY contain bugs as I adjusted it to save the character's position before jailing, allowing the automatic unjailing to warp you back to the exact spot you were at before being jailed. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8038 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/atcommand.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/map/atcommand.h') diff --git a/src/map/atcommand.h b/src/map/atcommand.h index f6b256eff..d199f364f 100644 --- a/src/map/atcommand.h +++ b/src/map/atcommand.h @@ -142,6 +142,9 @@ enum AtCommandType { AtCommand_CharDelItem, // by Yor AtCommand_Jail, // by Yor AtCommand_UnJail, // by Yor + AtCommand_JailFor, // Meruru + AtCommand_JailTime, // Coltaro + AtCommand_CharJailTime, // Coltaro AtCommand_Disguise, // [Valaris] AtCommand_UnDisguise, // by Yor AtCommand_CharDisguise, // Kalaspuff -- cgit v1.2.3-70-g09d2