summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-11-27 21:32:32 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-11-27 21:32:32 +0000
commit0c54e1b5b3116b0eab4e91d9faf84acd7c946b41 (patch)
treecf9a5b680cf28fd6784c558e5add25ed0ce66120 /src/common
parent22ca80169f4034a67d33d08447882e7355979f7c (diff)
downloadhercules-0c54e1b5b3116b0eab4e91d9faf84acd7c946b41.tar.gz
hercules-0c54e1b5b3116b0eab4e91d9faf84acd7c946b41.tar.bz2
hercules-0c54e1b5b3116b0eab4e91d9faf84acd7c946b41.tar.xz
hercules-0c54e1b5b3116b0eab4e91d9faf84acd7c946b41.zip
- Updated the status change field "option" to an int rather than short. This fixes the option values for xmas/sightblaster not getting set, which could explain why some people crash when equipping weapons while in xmas suit.
- Also did the same to opt3 since the new packet version uses LONG to store the opt3 values. - Made the clif weapon view function use the EQI constants instead of ints. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9337 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/common')
-rw-r--r--src/common/mmo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/mmo.h b/src/common/mmo.h
index 842159d59..3095e1491 100644
--- a/src/common/mmo.h
+++ b/src/common/mmo.h
@@ -219,7 +219,7 @@ struct mmo_charstatus {
short class_;
unsigned short status_point,skill_point;
int hp,max_hp,sp,max_sp;
- unsigned short option;
+ unsigned int option;
short manner;
unsigned char karma;
short hair,hair_color,clothes_color;