aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/lol.cpp
diff options
context:
space:
mode:
authorJohannes Schickel2009-05-29 12:52:03 +0000
committerJohannes Schickel2009-05-29 12:52:03 +0000
commit64e6c596c7d485a2e68138b08e573813c4783b59 (patch)
treec42534336c094a2871e82ce013912b060aa78170 /engines/kyra/lol.cpp
parent702f267b192eb469a231b2c4207196527b392aca (diff)
downloadscummvm-rg350-64e6c596c7d485a2e68138b08e573813c4783b59.tar.gz
scummvm-rg350-64e6c596c7d485a2e68138b08e573813c4783b59.tar.bz2
scummvm-rg350-64e6c596c7d485a2e68138b08e573813c4783b59.zip
Formatting.
svn-id: r40991
Diffstat (limited to 'engines/kyra/lol.cpp')
-rw-r--r--engines/kyra/lol.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/kyra/lol.cpp b/engines/kyra/lol.cpp
index bd2d48d793..bf9e522fab 100644
--- a/engines/kyra/lol.cpp
+++ b/engines/kyra/lol.cpp
@@ -1547,8 +1547,8 @@ void LoLEngine::fadeText() {
}
void LoLEngine::transformRegion(int x1, int y1, int x2, int y2, int w, int h, int srcPage, int dstPage) {
- uint16 *p1 = (uint16*) _tempBuffer5120;
- uint16 *p2 = (uint16*) (_tempBuffer5120 + 640);
+ uint16 *p1 = (uint16*)_tempBuffer5120;
+ uint16 *p2 = (uint16*)(_tempBuffer5120 + 640);
for (int i = 0; i < w; i++)
p1[i] = i;
@@ -3563,7 +3563,7 @@ bool LoLEngine::updateAutoMapIntern(uint16 block, uint16 x, uint16 y, int16 xOff
}
void LoLEngine::loadMapLegendData(int level) {
- uint16 *legendData= (uint16*) _tempBuffer5120;
+ uint16 *legendData= (uint16*)_tempBuffer5120;
for (int i = 0; i < 32; i++) {
legendData[i * 6] = 0xffff;
legendData[i * 6 + 5] = 0xffff;