ItemRef hp member rollover fix

Made a small change or new addition to the POL Core that makes a difference? You can post the changes here in .patch or .diff file format, for our Dev team to screen and apply to the SVN!

Moderator: POL Developer

Locked
User avatar
andenixa
Grandmaster Poster
Posts: 105
Joined: Tue Nov 09, 2010 1:33 am

ItemRef hp member rollover fix

Post by andenixa »

Fixes an old bug when .hp member rolls over for negative values as referred by RusseL:
http://forums.polserver.com/viewtopic.p ... 187#p20187

Use at your own discretion.
Attachments
item.hp_member_rollover_fix.patch
(390 Bytes) Downloaded 334 times
RusseL
Forum Regular
Posts: 375
Joined: Fri Feb 20, 2009 8:30 pm

Re: ItemRef hp member rollover fix

Post by RusseL »

it works :cheesy:
Tomi
POL Developer
Posts: 478
Joined: Tue Feb 21, 2006 5:08 pm

Re: ItemRef hp member rollover fix

Post by Tomi »

Another option to this could be to change that hp to signed short instead of unsigned and let people use negative values for it aswell.
But not sure if it would be usefull or not, have to look into these patches as soon as I have time
xeon
Forum Regular
Posts: 338
Joined: Fri Oct 31, 2008 3:18 am
Location: Italy

Re: ItemRef hp member rollover fix

Post by xeon »

Too beautiful to still see active as ever the POL scene ... and it's 2013!! :cheesy:
Locked