aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schickel2010-07-27 13:25:35 +0000
committerJohannes Schickel2010-07-27 13:25:35 +0000
commit93e8daec20c45bfaee3422480fe85cadbd844436 (patch)
tree245034b811f467a2350a32c60fdc07dfb62d9bd7
parent6925518143332099fcaf86bbab9f446063d206cb (diff)
downloadscummvm-rg350-93e8daec20c45bfaee3422480fe85cadbd844436.tar.gz
scummvm-rg350-93e8daec20c45bfaee3422480fe85cadbd844436.tar.bz2
scummvm-rg350-93e8daec20c45bfaee3422480fe85cadbd844436.zip
KYRA: Formatting.
svn-id: r51368
-rw-r--r--engines/kyra/script_tim.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/kyra/script_tim.cpp b/engines/kyra/script_tim.cpp
index 4ec6e7f349..20bc8abec5 100644
--- a/engines/kyra/script_tim.cpp
+++ b/engines/kyra/script_tim.cpp
@@ -159,7 +159,7 @@ TIM *TIMInterpreter::load(const char *filename, const Common::Array<const TIMOpc
_tim->opcodes = opcodes;
IFFParser iff(*stream);
- Common::Functor1Mem< Common::IFFChunk &, bool, TIMInterpreter > c(this, &TIMInterpreter::callback);
+ Common::Functor1Mem<Common::IFFChunk &, bool, TIMInterpreter> c(this, &TIMInterpreter::callback);
iff.parse(c);
if (!_tim->avtl)
@@ -170,7 +170,7 @@ TIM *TIMInterpreter::load(const char *filename, const Common::Array<const TIMOpc
delete stream;
- int num = (_avtlChunkSize < TIM::kCountFuncs) ? _avtlChunkSize : (int)TIM::kCountFuncs;
+ const int num = (_avtlChunkSize < TIM::kCountFuncs) ? _avtlChunkSize : (int)TIM::kCountFuncs;
for (int i = 0; i < num; ++i)
_tim->func[i].avtl = _tim->avtl + _tim->avtl[i];