From a10f6d9308baa615d2f5da46be8779a93c580834 Mon Sep 17 00:00:00 2001 From: skotlex Date: Tue, 26 Dec 2006 16:10:53 +0000 Subject: - Fixed some warnings - Corrected the comment for the global functions file. - Updated Charge Attack's damage equation as per the only source I've seen of it so far. - Now Guardians/Emperium can't hit /be hit if their current map isn't a gvg_castle or woe is off. This enables "localized" WoE by removing/setting the mapflag gvg_castle on the castles where you want WoE to take effect (note that even though normal players can't be hit on non gvg_castle maps, normal mobs can still be killed in such maps, you'd still need to modify the WoE scripts to use this kind of feature) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9575 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/atcommand.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/map/atcommand.c') diff --git a/src/map/atcommand.c b/src/map/atcommand.c index cd4ed4dbd..83e816cc1 100644 --- a/src/map/atcommand.c +++ b/src/map/atcommand.c @@ -3031,8 +3031,6 @@ int atcommand_pvpoff( const int fd, struct map_session_data* sd, const char* command, const char* message) { - struct map_session_data *pl_sd, **pl_allsd; - int i, users; nullpo_retr(-1, sd); if (battle_config.pk_mode) { //disable command if server is in PK mode [Valaris] -- cgit v1.2.3-70-g09d2