diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-05-21 22:39:53 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-05-21 22:39:53 +0000 |
commit | e4e3f73db10d345453f2c6d06ae1dc499a4c7404 (patch) | |
tree | 7117443cf1267f9354206c21d70ac4ae0ddefcec /src/configuration.cpp | |
parent | 241e2461446a830194f202b840abcd3598f804a5 (diff) | |
download | mana-e4e3f73db10d345453f2c6d06ae1dc499a4c7404.tar.gz mana-e4e3f73db10d345453f2c6d06ae1dc499a4c7404.tar.bz2 mana-e4e3f73db10d345453f2c6d06ae1dc499a4c7404.tar.xz mana-e4e3f73db10d345453f2c6d06ae1dc499a4c7404.zip |
Numerous things:
* Fixed two non-virtual destructor warnings showing up with GCC 4.
* Fixed OpenGL inventory text drawing that broke in last commit
* Removed glClear cause screen is redrawn completely anyway
* Fixed updating of buttons in inventory window
* Made items.xml be loaded through resource manager.
Diffstat (limited to 'src/configuration.cpp')
-rw-r--r-- | src/configuration.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/configuration.cpp b/src/configuration.cpp index 54fe3a1d..e3552a5a 100644 --- a/src/configuration.cpp +++ b/src/configuration.cpp @@ -41,6 +41,10 @@ #define xmlFree(x) ; #endif +ConfigListener::~ConfigListener() +{ +} + void Configuration::init(const std::string &filename) { configPath = filename; @@ -185,7 +189,7 @@ void Configuration::removeListener( const std::string &key, ConfigListener *listener) { std::list<ConfigListener*>::iterator i = listeners[key].begin(); - + while (i != listeners[key].end()) { if ((*i) == listener) { |