summaryrefslogtreecommitdiff
path: root/src/gui/char_select.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/char_select.cpp')
-rw-r--r--src/gui/char_select.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/char_select.cpp b/src/gui/char_select.cpp
index 8ed24bde..6c8a844b 100644
--- a/src/gui/char_select.cpp
+++ b/src/gui/char_select.cpp
@@ -46,6 +46,8 @@
#include "../net/network.h"
#include "../net/protocol.h"
+extern Graphics *graphics;
+
CharSelectDialog::CharDeleteConfirm::CharDeleteConfirm(CharSelectDialog *m):
ConfirmDialog(m,
"Confirm", "Are you sure you want to delete this character?"),
@@ -479,9 +481,9 @@ void charSelect()
gui->logic();
- guiGraphics->drawImage(login_wallpaper, 0, 0);
+ graphics->drawImage(login_wallpaper, 0, 0);
gui->draw();
- guiGraphics->updateScreen();
+ graphics->updateScreen();
}
delete sel;