From 0c54e1b5b3116b0eab4e91d9faf84acd7c946b41 Mon Sep 17 00:00:00 2001 From: skotlex Date: Mon, 27 Nov 2006 21:32:32 +0000 Subject: - 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 --- src/map/map.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/map/map.h') diff --git a/src/map/map.h b/src/map/map.h index 2061e93bb..45688cfe4 100644 --- a/src/map/map.h +++ b/src/map/map.h @@ -419,8 +419,8 @@ struct status_change_entry { struct status_change { struct status_change_entry data[MAX_STATUSCHANGE]; short count; - short opt1,opt2,opt3; - unsigned short option; + unsigned short opt1,opt2; + unsigned int opt3, option; //Note that older packet versions use short here. }; struct vending { -- cgit v1.2.3-60-g2f50