mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-23 18:24:59 +00:00
added a missing line to findSpriteWithClassOf and updated _varNumSpriteGroups computing
svn-id: r16927
This commit is contained in:
parent
77b50fcce8
commit
46844bbb7d
@ -32,8 +32,7 @@ namespace Scumm {
|
||||
|
||||
void ScummEngine_v90he::allocateArrays() {
|
||||
ScummEngine::allocateArrays();
|
||||
// FIXME Check real _varNumSpriteGroups value
|
||||
spritesAllocTables(_numSprites, 640, 64);
|
||||
spritesAllocTables(_numSprites, MAX(64, _numSprites / 4), 64);
|
||||
}
|
||||
|
||||
//
|
||||
@ -118,7 +117,7 @@ int ScummEngine_v90he::findSpriteWithClassOf(int x, int y, int spriteGroup, int
|
||||
y = y * 256 / zoom;
|
||||
}
|
||||
if (spi->flags & kSFRotated && rot_angle) {
|
||||
// TODO
|
||||
rot_angle = (360 - rot_angle) % 360;
|
||||
Common::Point pts[1];
|
||||
_wiz.polygonRotatePoints(pts, 1, rot_angle);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user