fixed rendering order

svn-id: r45735
This commit is contained in:
Vladimir Menshakov 2009-11-07 22:23:41 +00:00
parent c2a5b3feea
commit 286e71fdcf

View File

@ -380,10 +380,6 @@ bool Scene::render(OSystem *system) {
}
}
//render on
if (on.pixels != NULL) {
on.render(surface);
}
bool got_any_animation = false;
@ -478,6 +474,11 @@ bool Scene::render(OSystem *system) {
}
}
//render on
if (on.pixels != NULL) {
on.render(surface);
}
if (!message.empty()) {
res->font7.color = message_color;
res->font7.render(surface, message_pos.x, message_pos.y, message);