aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/scene_lol.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/kyra/scene_lol.cpp')
-rw-r--r--engines/kyra/scene_lol.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/kyra/scene_lol.cpp b/engines/kyra/scene_lol.cpp
index 41649f34a7..5e1fba7215 100644
--- a/engines/kyra/scene_lol.cpp
+++ b/engines/kyra/scene_lol.cpp
@@ -180,8 +180,8 @@ void LoLEngine::loadLevelWallData(int index, bool mapShapes) {
}
int LoLEngine::assignLevelShapes(int index) {
- uint16 *p1 = (uint16 *) _tempBuffer5120;
- uint16 *p2 = (uint16 *) (_tempBuffer5120 + 4000);
+ uint16 *p1 = (uint16 *)_tempBuffer5120;
+ uint16 *p2 = (uint16 *)(_tempBuffer5120 + 4000);
uint16 r = p2[index];
if (r)
@@ -461,7 +461,7 @@ void LoLEngine::resetItems(int flag) {
MonsterInPlay *r = 0;
while (id & 0x8000) {
- r = (MonsterInPlay*)findObject(id);
+ r = (MonsterInPlay *)findObject(id);
id = r->nextAssignedObject;
}
@@ -1150,7 +1150,7 @@ void LoLEngine::movePartySmoothScrollTurnLeft(int speed) {
int d = smoothScrollDrawSpecialGuiShape(_sceneDrawPage1);
gui_drawScene(_sceneDrawPage1);
- int dp = _sceneDrawPage2 == 2 ? _sceneDrawPage2 : _sceneDrawPage1;
+ int dp = _sceneDrawPage2 == 2 ? _sceneDrawPage2 : _sceneDrawPage1;
_smoothScrollTimer = _system->getMillis() + speed * _tickLength;
_screen->smoothScrollTurnStep1(_sceneDrawPage1, _sceneDrawPage2, dp);