Fix Win32 compilation.
This commit is contained in:
parent
7c03d80e19
commit
2588b96f51
1 changed files with 1 additions and 1 deletions
|
@ -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('.');
|
||||
|
|
Loading…
Add table
Reference in a new issue