summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/char_select.cpp4
-rw-r--r--src/gui/char_server.cpp2
-rw-r--r--src/gui/login.cpp2
3 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/char_select.cpp b/src/gui/char_select.cpp
index 04fa5317..eaada80d 100644
--- a/src/gui/char_select.cpp
+++ b/src/gui/char_select.cpp
@@ -225,7 +225,7 @@ void charSelect()
}
// Draw background
- blit((BITMAP *)graphic[LOGIN_BMP].dat, buffer, 0, 0, 0, 0, 800, 600);
+ blit(login_wallpaper, buffer, 0, 0, 0, 0, 800, 600);
gui_update(NULL);
@@ -312,7 +312,7 @@ void charCreate()
state != CHAR_SELECT)
{
// Draw background
- blit((BITMAP *)graphic[LOGIN_BMP].dat, buffer, 0, 0, 0, 0, 800, 600);
+ blit(login_wallpaper, buffer, 0, 0, 0, 0, 800, 600);
gui_update(NULL);
diff --git a/src/gui/char_server.cpp b/src/gui/char_server.cpp
index 6fcb98d1..38fb0595 100644
--- a/src/gui/char_server.cpp
+++ b/src/gui/char_server.cpp
@@ -108,7 +108,7 @@ void char_server() {
showServerList = 1;
while (showServerList) {
- blit((BITMAP *)graphic[LOGIN_BMP].dat, buffer, 0, 0, 0, 0, 800, 600);
+ blit(login_wallpaper, buffer, 0, 0, 0, 0, 800, 600);
gui_update(NULL);
blit(buffer, screen, 0, 0, 0, 0, 800, 600);
}
diff --git a/src/gui/login.cpp b/src/gui/login.cpp
index 45968c25..bf294c32 100644
--- a/src/gui/login.cpp
+++ b/src/gui/login.cpp
@@ -127,7 +127,7 @@ void login() {
LoginDialog *dialog = new LoginDialog(guiTop);
while (state == LOGIN) {
- blit((BITMAP *)graphic[LOGIN_BMP].dat, buffer, 0, 0, 0, 0, 800, 600);
+ blit(login_wallpaper, buffer, 0, 0, 0, 0, 800, 600);
gui_update(NULL);
blit(buffer, screen, 0, 0, 0, 0, 800, 600);
if (key[KEY_ESC]) {