summaryrefslogtreecommitdiff
path: root/source/ui_network.c
diff options
context:
space:
mode:
authorAndrey Nazarov <skuller@skuller.net>2007-12-02 18:33:17 +0000
committerAndrey Nazarov <skuller@skuller.net>2007-12-02 18:33:17 +0000
commit54124502cfb00c497ed24cbc8a9afefff1ba1b3a (patch)
tree981e7fcfbea28b5e1f9d913e56752bbf5750b89c /source/ui_network.c
parent93bdbd9e43c4616d2fa647374bc7d43fa5cc0220 (diff)
Implemented UI scaling, added ui_scale variable.
Draw_ClipRect now operates correctly on scaled coordinates.
Diffstat (limited to 'source/ui_network.c')
-rw-r--r--source/ui_network.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/ui_network.c b/source/ui_network.c
index c4586c1..357af89 100644
--- a/source/ui_network.c
+++ b/source/ui_network.c
@@ -153,7 +153,7 @@ static void Network_MenuInit( void ) {
m_network.menu.callback = NetworkMenu_Callback;
- x = uis.glconfig.vidWidth / 2;
+ x = uis.width / 2;
y = 64;
m_network.connection.generic.type = MTYPE_SPINCONTROL;