View Single Post
02-09-18, 07:07 PM   #3
Kakjens
A Cliff Giant
Join Date: Apr 2017
Posts: 75
Is there need for UpdateHP(bar)? For me more natural would be checks which status-bars need to be updated.
I sense a bug and possible fix for it, though.
But, leaving scoping aside, most of my objections to this pseudo-code would be gone by calculation of current hp (and verification that it's not nil?) in UpdateAll() instead of UpdateHP(bar).
  Reply With Quote