diff --git a/data/notifications/notify.png b/data/notifications/notify.png index de802f80..99f6191e 100644 Binary files a/data/notifications/notify.png and b/data/notifications/notify.png differ diff --git a/source/common/notify.cpp b/source/common/notify.cpp index a6f686c5..fe0b1cb3 100644 --- a/source/common/notify.cpp +++ b/source/common/notify.cpp @@ -222,7 +222,7 @@ void Notify::showText(std::string text1, std::string text2, int icon) { Sprite *sp = new Sprite({0, 0, iconSize, iconSize}, iconTexture, renderer); sp->setPos({padding, padding, iconSize, iconSize}); - sp->setSpriteClip({iconSize * icon, 0, iconSize, iconSize}); + sp->setSpriteClip({iconSize * (icon % 10), iconSize * (icon / 10), iconSize, iconSize}); sp->render(); delete sp; } diff --git a/source/director.cpp b/source/director.cpp index fe299791..810ea639 100644 --- a/source/director.cpp +++ b/source/director.cpp @@ -19,7 +19,7 @@ Director::Director(int argc, char *argv[]) section->subsection = SUBSECTION_LOGO_TO_INTRO; #ifdef DEBUG - section->name = SECTION_PROG_GAME; + section->name = SECTION_PROG_LOGO; #endif // Crea e inicializa las opciones del programa diff --git a/source/enter_id.cpp b/source/enter_id.cpp index af7d72bb..cf5fdd7d 100644 --- a/source/enter_id.cpp +++ b/source/enter_id.cpp @@ -296,11 +296,11 @@ void EnterID::initOnline() jscore::init(options->online.server, options->online.port); #ifdef DEBUG - const std::string caption = options->online.jailerID + " IS LOGGED IN (DEBUG)"; + const std::string caption = "IS LOGGED IN (DEBUG)"; #else - const std::string caption = options->online.jailerID + " IS LOGGED IN"; + const std::string caption = "IS LOGGED IN"; #endif - screen->showNotification(caption); + screen->showNotification(options->online.jailerID, caption, 11); if (options->console) { std::cout << caption << std::endl;