summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-12-06 15:52:01 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-12-06 15:52:01 +0000
commitb89c65cfed23a8a13fa7b1897d6b92e7427567bb (patch)
tree6cb990af183117cfe57fbf746f466fbe9ea4183b /src/map/clif.c
parent0459ea8e5165e749d82fb3a92ffc849c4e939649 (diff)
downloadhercules-b89c65cfed23a8a13fa7b1897d6b92e7427567bb.tar.gz
hercules-b89c65cfed23a8a13fa7b1897d6b92e7427567bb.tar.bz2
hercules-b89c65cfed23a8a13fa7b1897d6b92e7427567bb.tar.xz
hercules-b89c65cfed23a8a13fa7b1897d6b92e7427567bb.zip
- Fixed the compile error when trying to build the ladmin exe.
- When GM skill unconditional is set, the arrow state of the skill will be calculated, this fixes all skills getting stuck on arrow-type after you attack normally. - Alchemist famous potions get their 50% bonus on top of the natural bonuses as a 1.5x type of bonus instead of adding linearly on top of your vit bonus (which would mean equal bonus of raising your vit by 25). - Fixed the va_arg(va, char) warning that said the program would abort when it's reached o.O; made it read a int which is then casted to char. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9420 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index d780a2b3f..07c270f7c 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -290,7 +290,7 @@ int clif_send_sub(struct block_list *bl, va_list ap)
len = va_arg(ap,int);
nullpo_retr(0, src_bl = va_arg(ap,struct block_list*));
type = va_arg(ap,int);
- flush = va_arg(ap,char);
+ flush = (char)va_arg(ap,int);
switch(type) {
case AREA_WOS: