summaryrefslogtreecommitdiff
path: root/gfx.c
diff options
context:
space:
mode:
authordominik <dominik@openttd.org>2004-08-24 08:34:28 +0000
committerdominik <dominik@openttd.org>2004-08-24 08:34:28 +0000
commite2f627a22ed2a38542b63ac65a73499a2d9f32aa (patch)
tree92d0709632554e6421d9d731ecdb6e8bf9bdc631 /gfx.c
parent7efcc84512bd2161f4c68fdbdd06b8d1519137df (diff)
downloadopenttd-e2f627a22ed2a38542b63ac65a73499a2d9f32aa.tar.xz
(svn r127) New feature: ingame console. (sign_de)
Press tab to open the console, more info in docs/console.txt
Diffstat (limited to 'gfx.c')
-rw-r--r--gfx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gfx.c b/gfx.c
index 19e480a75..be4cac622 100644
--- a/gfx.c
+++ b/gfx.c
@@ -1920,9 +1920,9 @@ void SetAnimatedMouseCursor(const uint16 *table)
}
bool ChangeResInGame(int w, int h)
-{
+{
if ((_screen.width != w || _screen.height != h) && !_video_driver->change_resolution(w, h))
- return false;
+ return false;
_cur_resolution[0] = w;
_cur_resolution[1] = h;