aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/timer_lol.cpp
diff options
context:
space:
mode:
authorJohannes Schickel2011-12-31 05:11:33 +0100
committerJohannes Schickel2011-12-31 05:11:33 +0100
commita2221a8b9ee65cec914a106569bc8b2d0a03b3c8 (patch)
tree8c59b9bfc5af1726cff23635d3e8e7ba1a266972 /engines/kyra/timer_lol.cpp
parentc822a76a85f6a950d8e04f0c5c16973e2976bf7e (diff)
downloadscummvm-rg350-a2221a8b9ee65cec914a106569bc8b2d0a03b3c8.tar.gz
scummvm-rg350-a2221a8b9ee65cec914a106569bc8b2d0a03b3c8.tar.bz2
scummvm-rg350-a2221a8b9ee65cec914a106569bc8b2d0a03b3c8.zip
KYRA: Slight formatting fixes.
Diffstat (limited to 'engines/kyra/timer_lol.cpp')
-rw-r--r--engines/kyra/timer_lol.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/timer_lol.cpp b/engines/kyra/timer_lol.cpp
index d0b4062a65..a3df8dbe00 100644
--- a/engines/kyra/timer_lol.cpp
+++ b/engines/kyra/timer_lol.cpp
@@ -158,7 +158,7 @@ void LoLEngine::timerRegeneratePoints(int timerNum) {
int hInc = (_characters[i].flags & 8) ? 0 : (itemEquipped(i, 228) ? 4 : 1);
// check for Talba ring
int mInc = _drainMagic ? ((_characters[i].magicPointsMax >> 5) * -1) :
- ((_characters[i].flags & 8) ? 0 : (itemEquipped(i, 227) ? (_characters[i].magicPointsMax / 10) : 1));
+ ((_characters[i].flags & 8) ? 0 : (itemEquipped(i, 227) ? (_characters[i].magicPointsMax / 10) : 1));
_characters[i].magicPointsCur = CLIP<int16>(_characters[i].magicPointsCur + mInc, 0, _characters[i].magicPointsMax);