diff options
Diffstat (limited to 'src/game/localization.cpp')
| -rw-r--r-- | src/game/localization.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game/localization.cpp b/src/game/localization.cpp index 82de858f..536a4fce 100644 --- a/src/game/localization.cpp +++ b/src/game/localization.cpp @@ -30,6 +30,7 @@ void CLocConstString::Reload() CLocalizationDatabase::CLocalizationDatabase() { + m_VersionCounter = 0; m_CurrentVersion = 0; } @@ -89,7 +90,7 @@ bool CLocalizationDatabase::Load(const char *pFilename, IStorage *pStorage, ICon AddString(pLine, pReplacement); } - m_CurrentVersion++; + m_CurrentVersion = ++m_VersionCounter; return true; } |