EMI: Over-draw some actors in Set::drawForeground
EMI draws portions of the background over actors with sortOrder >= 15.
This commit is contained in:
parent
0d2089d5a1
commit
bde37f96a8
10 changed files with 66 additions and 18 deletions
|
@ -409,6 +409,14 @@ void Bitmap::draw(int x, int y) {
|
|||
g_driver->drawBitmap(this, x, y);
|
||||
}
|
||||
|
||||
void Bitmap::drawForeground() {
|
||||
_data->load();
|
||||
if (_currImage == 0)
|
||||
return;
|
||||
|
||||
g_driver->drawBitmap(this, _data->_x, _data->_y, false);
|
||||
}
|
||||
|
||||
void Bitmap::setActiveImage(int n) {
|
||||
assert(n >= 0);
|
||||
_data->load();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue