summaryrefslogtreecommitdiff
path: root/src/map/atcommand.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-12-26 16:10:53 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-12-26 16:10:53 +0000
commita10f6d9308baa615d2f5da46be8779a93c580834 (patch)
tree086da5eb98f53bfb4247542a2a34ec4b17134465 /src/map/atcommand.c
parent5abd5bd1f8f53b73560cecd4496bfd4bc2acc226 (diff)
downloadhercules-a10f6d9308baa615d2f5da46be8779a93c580834.tar.gz
hercules-a10f6d9308baa615d2f5da46be8779a93c580834.tar.bz2
hercules-a10f6d9308baa615d2f5da46be8779a93c580834.tar.xz
hercules-a10f6d9308baa615d2f5da46be8779a93c580834.zip
- 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
Diffstat (limited to 'src/map/atcommand.c')
-rw-r--r--src/map/atcommand.c2
1 files changed, 0 insertions, 2 deletions
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]