Fixed incorrect order of calls

This commit is contained in:
Ingo Ruhnke 2010-12-15 02:34:31 +01:00
parent 819a44e4e1
commit 23a9f7a798

View file

@ -59,8 +59,8 @@ uInputCfg::get_axis_map(int n)
void
uInputCfg::add_input_mapping()
{
current_input_map = map.size()-1;
map.push_back(InputMapping());
current_input_map = map.size()-1;
set_defaults();
}