diff options
Diffstat (limited to 'src/being.cpp')
-rw-r--r-- | src/being.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/being.cpp b/src/being.cpp index 31f1eac59..185891509 100644 --- a/src/being.cpp +++ b/src/being.cpp @@ -2527,10 +2527,9 @@ void Being::updatePercentHP() { if (!mMaxHP || !serverVersion) return; - unsigned num = 0; if (mHP) { - num = mHP * 100 / mMaxHP; + unsigned num = mHP * 100 / mMaxHP; if (num != mNumber) { mNumber = num; |