forked from jaildesigner-jailgames/jaildoctors_dilemma
Ja torna a pintar de negre la pantalla al morir
This commit is contained in:
@@ -444,8 +444,10 @@ void Game::renderBlackScreen()
|
|||||||
{
|
{
|
||||||
if (black_screen_)
|
if (black_screen_)
|
||||||
{
|
{
|
||||||
Screen::get()->clear();
|
auto const color = static_cast<Uint8>(PaletteColor::BRIGHT_BLACK);
|
||||||
Screen::get()->setBorderColor(stringToColor("black"));
|
Screen::get()->setRendererSurface();
|
||||||
|
Screen::get()->clearSurface(color);
|
||||||
|
Screen::get()->setBorderColor(color);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user