summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorJedzkie <jedzkie13@rocketmail.com>2015-12-23 11:30:24 +0800
committerJedzkie <jedzkie13@rocketmail.com>2015-12-23 11:30:24 +0800
commit9dc44927ccf5ae88a40e92be5c7c2146cdb5eb06 (patch)
treede9c192a80e429288bea39bc1edcd047982c1b0d /src/map/clif.c
parentf7f6f3da94a9dffc7e7b9ecd2c82914945b48269 (diff)
downloadhercules-9dc44927ccf5ae88a40e92be5c7c2146cdb5eb06.tar.gz
hercules-9dc44927ccf5ae88a40e92be5c7c2146cdb5eb06.tar.bz2
hercules-9dc44927ccf5ae88a40e92be5c7c2146cdb5eb06.tar.xz
hercules-9dc44927ccf5ae88a40e92be5c7c2146cdb5eb06.zip
Item Update:
- Update the Genetic Sling / Food items - AegisNames - iRO Names - Prices - Weight - Added official effect for HP Increase Potions and SP Increase Potions. - Fix Banana Bomb sitting behavior.
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 63a36fa62..0cf31fccb 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -9969,6 +9969,9 @@ void clif_parse_ActionRequest_sub(struct map_session_data *sd, int action_type,
break;
}
+ if (sd->sc.data[SC_SITDOWN_FORCE] || sd->sc.data[SC_BANANA_BOMB_SITDOWN_POSTDELAY])
+ return;
+
if(pc_issit(sd)) {
//Bugged client? Just refresh them.
clif->sitting(&sd->bl);
@@ -9992,6 +9995,10 @@ void clif_parse_ActionRequest_sub(struct map_session_data *sd, int action_type,
clif->sitting(&sd->bl);
break;
case 0x03: // standup
+
+ if (sd->sc.data[SC_SITDOWN_FORCE] || sd->sc.data[SC_BANANA_BOMB_SITDOWN_POSTDELAY])
+ return;
+
if (!pc_issit(sd)) {
//Bugged client? Just refresh them.
clif->standing(&sd->bl);