From 2c7d0b3518d72a7ab0726b72f7d2137e5944f049 Mon Sep 17 00:00:00 2001 From: Björn Steinbrink Date: Thu, 25 Aug 2005 18:06:19 +0000 Subject: Made our drawImage() method respect the clip area from the guichan graphics part. Removed some (now) obsolete code. Fixed compilation errors. --- src/configuration.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/configuration.cpp') diff --git a/src/configuration.cpp b/src/configuration.cpp index 5e21ee5a..0b43418f 100644 --- a/src/configuration.cpp +++ b/src/configuration.cpp @@ -24,15 +24,17 @@ #include "configuration.h" +#include #include #include #include "configlistener.h" #include "log.h" -void Configuration::init(const std::string &filename): - mConfigPath(filename) +void Configuration::init(const std::string &filename) { + mConfigPath = filename; + // Do not attempt to read config from non-existant file FILE *testFile = fopen(filename.c_str(), "r"); if (!testFile) { -- cgit v1.2.3-60-g2f50