From c19a5d7c756fa3fb633b1832b3d6c1a8ec4d5e4b Mon Sep 17 00:00:00 2001 From: Tim DeLong Date: Thu, 28 Jan 2016 08:15:38 -0500 Subject: [PATCH] Casttime was too small for the possible data values. The Potion of Serious Healing has a cast time of 90.0 sec (90000), but this was downcast to a lower value. Updated Casttime from uint16 to uint32. This change also makes CastTime have the same data type as Fulfilment which is notable as they are in a struct union and should have the same type. --- common/item_struct.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/item_struct.h b/common/item_struct.h index 937c9e47c..0d7505a2c 100644 --- a/common/item_struct.h +++ b/common/item_struct.h @@ -160,7 +160,7 @@ struct Item_Struct { //uint32 Unk059; union { uint32 Fulfilment; // Food fulfilment (How long it lasts) - int16 CastTime; // Cast Time for clicky effects, in milliseconds + uint32 CastTime; // Cast Time for clicky effects, in milliseconds }; uint32 EliteMaterial; int32 ProcRate;