summaryrefslogtreecommitdiff
path: root/src/map/duel.c
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-04-12 00:14:34 -0300
committershennetsind <ind@henn.et>2013-04-12 00:14:34 -0300
commit4d89aa6e1c733618b720170a0979d895689b1d1e (patch)
treed85e6353363c6800dc0ce085e1670d01e8344fb8 /src/map/duel.c
parent57b5943b55e8b8bcede9b4aa944ff855687a366a (diff)
downloadhercules-4d89aa6e1c733618b720170a0979d895689b1d1e.tar.gz
hercules-4d89aa6e1c733618b720170a0979d895689b1d1e.tar.bz2
hercules-4d89aa6e1c733618b720170a0979d895689b1d1e.tar.xz
hercules-4d89aa6e1c733618b720170a0979d895689b1d1e.zip
Hercules Renewal: Phase Two: Starting~!
http://hercules.ws/board/topic/383-hercules-renewal-phase-two/ Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/duel.c')
-rw-r--r--src/map/duel.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/map/duel.c b/src/map/duel.c
index 1c659bd33..7af427304 100644
--- a/src/map/duel.c
+++ b/src/map/duel.c
@@ -1,5 +1,6 @@
-// Copyright (c) Athena Dev Teams - Licensed under GNU GPL
-// For more information, see LICENCE in the main folder
+// Copyright (c) Hercules Dev Team, licensed under GNU GPL.
+// See the LICENSE file
+// Portions Copyright (c) Athena Dev Teams
#include "../common/cbasetypes.h"
@@ -95,7 +96,7 @@ int duel_create(struct map_session_data* sd, const unsigned int maxpl)
clif->disp_onlyself(sd, output, strlen(output));
clif->map_property(sd, MAPPROPERTY_FREEPVPZONE);
- //clif->misceffect2(&sd->bl, 159);
+ clif->maptypeproperty2(&sd->bl,SELF);
return i;
}
@@ -141,6 +142,7 @@ void duel_leave(const unsigned int did, struct map_session_data* sd)
sd->duel_group = 0;
duel_savetime(sd);
clif->map_property(sd, MAPPROPERTY_NOTHING);
+ clif->maptypeproperty2(&sd->bl,SELF);
}
void duel_accept(const unsigned int did, struct map_session_data* sd)
@@ -157,7 +159,7 @@ void duel_accept(const unsigned int did, struct map_session_data* sd)
clif->disp_message(&sd->bl, output, strlen(output), DUEL_WOS);
clif->map_property(sd, MAPPROPERTY_FREEPVPZONE);
- //clif->misceffect2(&sd->bl, 159);
+ clif->maptypeproperty2(&sd->bl,SELF);
}
void duel_reject(const unsigned int did, struct map_session_data* sd)