diff options
| author | athrxx | 2013-04-15 21:29:25 +0200 |
|---|---|---|
| committer | athrxx | 2013-04-18 16:10:36 +0200 |
| commit | 4021a04269334a8c3f6d679cdc7b3bc0e31f6e36 (patch) | |
| tree | 9a9db56cf29bf3051d774c24ad48e144908198ca | |
| parent | 9fdc70de36e859c18c7a420f80d949203e2aff72 (diff) | |
| download | scummvm-rg350-4021a04269334a8c3f6d679cdc7b3bc0e31f6e36.tar.gz scummvm-rg350-4021a04269334a8c3f6d679cdc7b3bc0e31f6e36.tar.bz2 scummvm-rg350-4021a04269334a8c3f6d679cdc7b3bc0e31f6e36.zip | |
KYRA: (LOL) - fix warning (Unused pointer value) in sprites_lol.cpp
| -rw-r--r-- | engines/kyra/sprites_lol.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/engines/kyra/sprites_lol.cpp b/engines/kyra/sprites_lol.cpp index ba64b5ce88..4d4d596bac 100644 --- a/engines/kyra/sprites_lol.cpp +++ b/engines/kyra/sprites_lol.cpp @@ -503,7 +503,6 @@ int LoLEngine::checkBlockOccupiedByParty(int x, int y, int testFlag) { void LoLEngine::drawBlockObjects(int blockArrayIndex) { LevelBlockProperty *l = _visibleBlocks[blockArrayIndex]; uint16 s = l->assignedObjects; - LoLObject *obj = findObject(s); if (l->direction != _currentDirection) { l->drawObjects = 0; @@ -511,8 +510,7 @@ void LoLEngine::drawBlockObjects(int blockArrayIndex) { while (s) { reassignDrawObjects(_currentDirection, s, l, true); - obj = findObject(s); - s = obj->nextAssignedObject; + s = findObject(s)->nextAssignedObject; } } |
