diff options
author | Ibrahim Zidan <brahem@aotsw.com> | 2019-12-05 10:52:35 +0200 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-02-14 15:52:43 -0300 |
commit | 00251c40abe80a2538f8c26b6be3b1ede44dd996 (patch) | |
tree | 8e6d317cff079ad6c9d4d87ca4e55e4349182dfd | |
parent | 0d0922ad75e968c4e7bd38e6bb2a36a776427cc7 (diff) | |
download | hercules-00251c40abe80a2538f8c26b6be3b1ede44dd996.tar.gz hercules-00251c40abe80a2538f8c26b6be3b1ede44dd996.tar.bz2 hercules-00251c40abe80a2538f8c26b6be3b1ede44dd996.tar.xz hercules-00251c40abe80a2538f8c26b6be3b1ede44dd996.zip |
Removal of unused members shp, ssp from struct regen_data
Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
-rw-r--r-- | src/map/status.h | 22 |
1 files changed, 12 insertions, 10 deletions
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 { |