Whitespace changes I made while looking for the sourberry sprite bug.

svn-id: r18371
This commit is contained in:
Torbjörn Andersson 2005-06-10 12:09:01 +00:00
parent eb99ba925b
commit ef552c8a8f
2 changed files with 3 additions and 4 deletions

View File

@ -1291,7 +1291,7 @@ bool Actor::getSpriteParams(CommonObjectData *commonObjectData, int &frameNumber
} else {
if (validObjId(commonObjectData->id)) {
spriteList = &_vm->_sprite->_mainSprites;
frameNumber = commonObjectData->spriteListResourceId;
frameNumber = commonObjectData->spriteListResourceId;
}
}
@ -1321,7 +1321,6 @@ void Actor::drawActors() {
back_buf = _vm->_gfx->getBackBuffer();
createDrawOrderList();
for (drawOrderIterator = _drawOrderList.begin(); drawOrderIterator != _drawOrderList.end(); ++drawOrderIterator) {
drawObject = drawOrderIterator.operator*();

View File

@ -399,9 +399,9 @@ void IsoMap::drawSprite(SURFACE *ds, SpriteList &spriteList, int spriteNumber, c
int yAlign;
const byte *spriteBuffer;
Point spritePointer;
Rect clip(_vm->getDisplayWidth(),_vm->getClippedSceneHeight());
Rect clip(_vm->getDisplayWidth(), _vm->getClippedSceneHeight());
_vm->_sprite->getScaledSpriteBuffer(spriteList,spriteNumber,scale, width, height, xAlign, yAlign, spriteBuffer);
_vm->_sprite->getScaledSpriteBuffer(spriteList, spriteNumber, scale, width, height, xAlign, yAlign, spriteBuffer);
spritePointer.x = screenPosition.x + xAlign;
spritePointer.y = screenPosition.y + yAlign;