Fix Win32 compilation.

This commit is contained in:
Nicolas Weeger 2006-02-19 12:14:37 +00:00
parent 7c03d80e19
commit 2588b96f51

View file

@ -803,7 +803,7 @@ void game_state::set_variable(const std::string& key, const t_string& value)
void game_state::clear_variable(const std::string& varname)
{
config* vars(&variables);
config* vars = &variables;
std::string key(varname);
std::string::const_iterator itor = std::find(key.begin(),key.end(),'.');
int dot_index = key.find('.');