summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorshennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-06-24 00:01:19 +0000
committershennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-06-24 00:01:19 +0000
commita8b6ddb7a6d2b0e5d9b8a3140b98b9d8d9fce210 (patch)
tree7cd3b9960e4abceacc9a761a62c3b12389ec177e /src/map
parent48d81ed632a5383439940c5a362eec11aa3701c3 (diff)
downloadhercules-a8b6ddb7a6d2b0e5d9b8a3140b98b9d8d9fce210.tar.gz
hercules-a8b6ddb7a6d2b0e5d9b8a3140b98b9d8d9fce210.tar.bz2
hercules-a8b6ddb7a6d2b0e5d9b8a3140b98b9d8d9fce210.tar.xz
hercules-a8b6ddb7a6d2b0e5d9b8a3140b98b9d8d9fce210.zip
Fixed bugreport:4895 external bleeding will no longer cancel status changes (i.e. won't remove hide cloaking etc)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16334 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map')
-rw-r--r--src/map/status.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/status.c b/src/map/status.c
index 67387820a..bf1fbeaa9 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -9282,7 +9282,7 @@ int status_change_timer(int tid, unsigned int tick, int id, intptr_t data)
if (--(sce->val4) >= 0) {
int hp = rnd()%600 + 200;
map_freeblock_lock();
- status_fix_damage(NULL, bl, sd||hp<status->hp?hp:status->hp-1, 0);
+ status_fix_damage(NULL, bl, sd||hp<status->hp?hp:status->hp-1, 1);
if( sc->data[type] ) {
if( status->hp == 1 ) break;
sc_timer_next(10000 + tick, status_change_timer, bl->id, data);