diff options
author | Alexander Baldeck <alexander@archlinux.org> | 2004-12-26 05:28:38 +0000 |
---|---|---|
committer | Alexander Baldeck <alexander@archlinux.org> | 2004-12-26 05:28:38 +0000 |
commit | c2c16ad82ee84670670235f56c19b78022166328 (patch) | |
tree | b37c93c28396811217c0021eb89dabd3d7869e6f /src/main.cpp | |
parent | a3ec87e609772da96eb87f05f05bdc4abc3ac601 (diff) | |
download | mana-c2c16ad82ee84670670235f56c19b78022166328.tar.gz mana-c2c16ad82ee84670670235f56c19b78022166328.tar.bz2 mana-c2c16ad82ee84670670235f56c19b78022166328.tar.xz mana-c2c16ad82ee84670670235f56c19b78022166328.zip |
merge to new config system complete
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index b8b37ddd..120fb881 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -216,7 +216,7 @@ void init_engine() { stretch_mode = (unsigned char)config.getValue("stretch", 0); set_window_title("The Mana World"); - if(set_gfx_mode(get_config_int("settings", "screen", 0), 800, 600, 0, 0)) { + if(set_gfx_mode((unsigned char)config.getValue("screen", 0), 800, 600, 0, 0)) { error(allegro_error); } |