mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-15 22:28:10 +00:00
Whitespace changes I made while looking for the sourberry sprite bug.
svn-id: r18371
This commit is contained in:
parent
eb99ba925b
commit
ef552c8a8f
@ -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*();
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user