cleanup / added comments / code unification
svn-id: r8235
This commit is contained in:
parent
a29074ed08
commit
9cbcde684b
6 changed files with 92 additions and 105 deletions
|
@ -1505,10 +1505,14 @@ void Scumm::drawBlastObject(BlastObject *eo) {
|
|||
bdd.scaleRight = setupBompScale(bomp_scaling_x, bdd.srcwidth, bdd.scale_x);
|
||||
bdd.scaleBottom = setupBompScale(bomp_scaling_y, bdd.srcheight, bdd.scale_y);
|
||||
bdd.shadowMode = 0;
|
||||
drawBomp(bdd, 1, 3);
|
||||
drawBomp(bdd, false);
|
||||
} else {
|
||||
bdd.scalingXPtr = NULL;
|
||||
bdd.scalingYPtr = NULL;
|
||||
bdd.scaleRight = 0;
|
||||
bdd.scaleBottom = 0;
|
||||
bdd.shadowMode = eo->mode;
|
||||
drawBomp(bdd, 1, 0);
|
||||
drawBomp(bdd, false);
|
||||
}
|
||||
|
||||
updateDirtyRect(vs->number, bdd.x, bdd.x + bdd.srcwidth, bdd.y, bdd.y + bdd.srcheight, 0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue