-[FIX] Hard to catch memory bug has been valgrinded out!

This commit is contained in:
2024-05-25 16:40:24 +02:00
parent 0f6bc3cf68
commit 38ce92cedb
2 changed files with 21 additions and 14 deletions

View File

@@ -337,7 +337,7 @@ bool game::loop()
draw::color(WHITE);
draw::fillrect(0, 0, 100, 240);
draw::setViewport(420, 2, 100, 240);
draw::setViewport(420, 2, 100, 238);
draw::color(LIGHT+WHITE);
draw::fillrect(2, 0, 96, 100);
@@ -369,7 +369,7 @@ bool game::loop()
act = actor::getSelected();
if (act)
{
draw::setViewport(420, 90, 100, 240);
draw::setViewport(420, 90, 100, 150);
btn_txt("NAME:", 2, 0, act->name);
if (btn_opt2("BMP:", 2, 10, act->bmp, gifs)) {