From 7a88c394584cb02cec8d1d7eb70ac2020e033d41 Mon Sep 17 00:00:00 2001 From: Ira Rice Date: Thu, 23 Oct 2008 11:46:21 +0000 Subject: Cleaned up ColorDB code so that it loads with all other databases, as well as fixed color cycling. --- src/main.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index 3755ad03..b92a4b2d 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -81,6 +81,7 @@ #include "net/messageout.h" #include "net/network.h" +#include "resources/colordb.h" #include "resources/image.h" #include "resources/itemdb.h" #include "resources/monsterdb.h" @@ -421,6 +422,7 @@ void exit_engine() sound.close(); // Unload XML databases + ColorDB::unload(); ItemDB::unload(); MonsterDB::unload(); NPCDB::unload(); @@ -838,6 +840,7 @@ int main(int argc, char *argv[]) false); // Load XML databases + ColorDB::load(); ItemDB::load(); MonsterDB::load(); NPCDB::load(); -- cgit v1.2.3-70-g09d2