diff --git a/ZRColaCompile/dbsource.cpp b/ZRColaCompile/dbsource.cpp index 2366c5a..1032c4c 100644 --- a/ZRColaCompile/dbsource.cpp +++ b/ZRColaCompile/dbsource.cpp @@ -753,7 +753,9 @@ bool ZRCola::DBSource::SelectCharacters(ATL::CComPtr& rs) const if (FAILED(rs->Open(ATL::CComVariant( L"SELECT DISTINCT [znak], [opis_en], [klj_bes_en], [kat], [znak_v], [znak_m] " L"FROM [VRS_CharList] " - L"WHERE [kat]<>'g' " // Ignore "Other, Control" category! + L"WHERE " + L"[aktiven]=1 AND " // Active characters only + L"[kat]<>'g' " // Ignore "Other, Control" category! L"ORDER BY [znak]"), ATL::CComVariant(m_db), adOpenStatic, adLockReadOnly, adCmdText))) { _ftprintf(stderr, wxT("%s: error ZCC0120: Error loading characters from database. Please make sure the file is ZRCola.zrc compatible.\n"), m_filename.c_str()); diff --git a/output/data/ZRCola.zrcdb b/output/data/ZRCola.zrcdb index f472c37..222e839 100644 Binary files a/output/data/ZRCola.zrcdb and b/output/data/ZRCola.zrcdb differ