From 00251c40abe80a2538f8c26b6be3b1ede44dd996 Mon Sep 17 00:00:00 2001 From: Ibrahim Zidan Date: Thu, 5 Dec 2019 10:52:35 +0200 Subject: Removal of unused members shp, ssp from struct regen_data Signed-off-by: Ibrahim Zidan --- src/map/status.h | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) (limited to 'src/map') diff --git a/src/map/status.h b/src/map/status.h index e2280e409..f10b154ab 100644 --- a/src/map/status.h +++ b/src/map/status.h @@ -2089,35 +2089,37 @@ struct status_data { //Additional regen data that only players have. struct regen_data_sub { - unsigned short - hp,sp; + unsigned short hp; + unsigned short sp; //tick accumulation before healing. struct { - unsigned int hp,sp; + unsigned int hp; + unsigned int sp; } tick; //Regen rates (where every 1 means +100% regen) struct { - unsigned char hp,sp; + unsigned char hp; + unsigned char sp; } rate; }; struct regen_data { - unsigned short flag; //Marks what stuff you may heal or not. - unsigned short - hp,sp,shp,ssp; + unsigned short hp; + unsigned short sp; //tick accumulation before healing. struct { - unsigned int hp,sp,shp,ssp; + unsigned int hp; + unsigned int sp; } tick; //Regen rates (where every 1 means +100% regen) struct { - unsigned char - hp,sp,shp,ssp; + unsigned char hp; + unsigned char sp; } rate; struct { -- cgit v1.2.3-60-g2f50