about summary refs log tree commit diff
path: root/src/game/client/gc_client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/client/gc_client.cpp')
-rw-r--r--src/game/client/gc_client.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/game/client/gc_client.cpp b/src/game/client/gc_client.cpp
index 68c6db00..9c70bd86 100644
--- a/src/game/client/gc_client.cpp
+++ b/src/game/client/gc_client.cpp
@@ -47,10 +47,6 @@ enum
 	CHATMODE_REMOTECONSOLE,
 };
 
-typedef struct 
-{
-    float x, y, w, h;
-} RECT;
 RECT *ui2_screen();
 
 static int chat_mode = CHATMODE_NONE;
@@ -1885,7 +1881,7 @@ int emoticon_selector_render()
 		emoticon_selector_active = false;
 	}
 
-    RECT screen = *ui2_screen();
+    RECT screen = *ui_screen();
 
 	gfx_mapscreen(screen.x, screen.y, screen.w, screen.h);