else if, not if

This commit is contained in:
adelikat 2010-03-04 02:03:33 +00:00
parent a160271782
commit 135612a3bd
1 changed files with 1 additions and 1 deletions

View File

@ -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
if(key == "FDS")
installInt(val,fds);
if(key == "version")
else if(key == "version")
installInt(val,version);
else if(key == "emuVersion")
installInt(val,emuVersion);