else if, not if
This commit is contained in:
parent
a160271782
commit
135612a3bd
|
@ -346,7 +346,7 @@ void MovieData::installValue(std::string& key, std::string& val)
|
||||||
//todo - use another config system, or drive this from a little data structure. because this is gross
|
//todo - use another config system, or drive this from a little data structure. because this is gross
|
||||||
if(key == "FDS")
|
if(key == "FDS")
|
||||||
installInt(val,fds);
|
installInt(val,fds);
|
||||||
if(key == "version")
|
else if(key == "version")
|
||||||
installInt(val,version);
|
installInt(val,version);
|
||||||
else if(key == "emuVersion")
|
else if(key == "emuVersion")
|
||||||
installInt(val,emuVersion);
|
installInt(val,emuVersion);
|
||||||
|
|
Loading…
Reference in New Issue