From 7bbe099cea4e003c72efbcdcdc15d95731812dcc Mon Sep 17 00:00:00 2001 From: David Anderson Date: Thu, 4 Jan 2007 23:30:54 +0000 Subject: [PATCH] fixed a bug causing mapchanges to crash --HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40269 --- core/systems/PluginInfoDatabase.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/systems/PluginInfoDatabase.cpp b/core/systems/PluginInfoDatabase.cpp index 5b7d1ac6..3783bf4b 100644 --- a/core/systems/PluginInfoDatabase.cpp +++ b/core/systems/PluginInfoDatabase.cpp @@ -45,6 +45,9 @@ void CPluginInfoDatabase::ReadSMC_ParseStart() in_plugins = false; cur_plugin = -1; in_options = false; + m_infodb_size = 0; + m_infodb_count = 0; + m_infodb = -1; } SMCParseResult CPluginInfoDatabase::MakeError(const char *fmt, ...)