summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/database.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2012-03-29 12:00:43 +0200
committerAdam Borowski <kilobyte@angband.pl>2012-03-29 12:00:43 +0200
commit65c09118e7e3190ce0c8bec1bc2753139ffbdbb1 (patch)
tree33cead360cf44f92a7e92e5292b052a4bc8ba43c /crawl-ref/source/database.cc
parent3836b8e7876c04a18da207cd7ed1803f804ce284 (diff)
downloadcrawl-ref-65c09118e7e3190ce0c8bec1bc2753139ffbdbb1.tar.gz
crawl-ref-65c09118e7e3190ce0c8bec1bc2753139ffbdbb1.zip
Revert "A bit of debug info about loaded translations, to help investigate CDO."
Investigation done, breaking of all games without "language=pl" done as well. This reverts commit b65c0c250055b6b981a596c6369db8fef670e04f.
Diffstat (limited to 'crawl-ref/source/database.cc')
-rw-r--r--crawl-ref/source/database.cc6
1 files changed, 0 insertions, 6 deletions
diff --git a/crawl-ref/source/database.cc b/crawl-ref/source/database.cc
index 87d6bb3974..abd47cfe74 100644
--- a/crawl-ref/source/database.cc
+++ b/crawl-ref/source/database.cc
@@ -21,7 +21,6 @@
#include "libutil.h"
#include "options.h"
#include "random.h"
-#include "state.h"
#include "stuff.h"
#include "syscalls.h"
#include "threads.h"
@@ -260,9 +259,6 @@ bool TextDB::_needs_update() const
return false;
}
- if (_lang)
- crawl_state.db_loaded += std::string(" ") + _db_name;
-
return (ts != timestamp);
}
@@ -331,8 +327,6 @@ void databaseSystemInit()
// the current version ("git submodule sync;git submodule update --init").
ASSERT(sqlite3_threadsafe());
- crawl_state.language_loaded = Options.lang;
-
thread_t th[NUM_DB];
for (unsigned int i = 0; i < NUM_DB; i++)
#ifndef DGAMELAUNCH