From 267a456c643bca4185b56eb7cdd39bb2449bed90 Mon Sep 17 00:00:00 2001 From: Inkfish Date: Fri, 19 Feb 2010 03:17:00 +0000 Subject: * Fixed NPC_INVINCIBLE can be dispelled. (bugreport:4046) * Fixed a compliation warning. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14247 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/clif.c | 2 +- src/map/skill.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/map') diff --git a/src/map/clif.c b/src/map/clif.c index db6d4a291..1eed2fd91 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -6616,7 +6616,7 @@ int clif_guild_memberlist(struct map_session_data *sd) WFIFOW(fd,c*104+16)=m->gender; WFIFOW(fd,c*104+18)=m->class_; WFIFOW(fd,c*104+20)=m->lv; - WFIFOL(fd,c*104+22)=cap_value(m->exp,0,INT_MAX); + WFIFOL(fd,c*104+22)=(int)cap_value(m->exp,0,INT_MAX); WFIFOL(fd,c*104+26)=m->online; WFIFOL(fd,c*104+30)=m->position; memset(WFIFOP(fd,c*104+34),0,50); // H diff --git a/src/map/skill.c b/src/map/skill.c index 336d93975..dde93adbf 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -4727,7 +4727,7 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in case SC_READYSTORM: case SC_READYDOWN: case SC_READYTURN: case SC_READYCOUNTER:case SC_DODGE: case SC_WARM: case SC_SPEEDUP1: case SC_AUTOTRADE: case SC_CRITICALWOUND: - case SC_JEXPBOOST: + case SC_JEXPBOOST: case SC_INVINCIBLE: case SC_INVINCIBLEOFF: continue; case SC_ASSUMPTIO: if( bl->type == BL_MOB ) -- cgit v1.2.3-70-g09d2