ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/AE/Installer/trunk/source/installer.cpp
(Generate patch)

Comparing AE/Installer/trunk/source/installer.cpp (file contents):
Revision 556 by gumby, Sat May 29 18:41:43 2010 UTC vs.
Revision 558 by gumby, Sat May 29 19:21:27 2010 UTC

# Line 421 | Line 421 | ModPackage fileToModPackage(fstream &fil
421                                  iter++;
422                                  package.modStringVersion = atof((*iter).c_str());
423                          }
424 <                        else if (!ModString.compare(*iter))
424 >                        else if (!ModVersion.compare(*iter))
425                          {
426                                  iter++; iter++;
427                                  package.modStringVersion = atof((*iter).c_str());
# Line 765 | Line 765 | void copyBSL(string copypath, vector<str
765                                                   bsl_itr != end_itr;
766                                                   bsl_itr++ ) {
767                                                  if ( bsl_itr->path().extension() == ".bsl" ) {
768 +                                                        if(exists("../GameDataFolder/IGMD/" + dir_itr->path().filename() + "/" + bsl_itr->path().filename()))
769 +                                                                remove("../GameDataFolder/IGMD/" + dir_itr->path().filename() + "/" + bsl_itr->path().filename());
770                                                          copy_file(bsl_itr->path(),  "../GameDataFolder/IGMD/" + dir_itr->path().filename() + "/" + bsl_itr->path().filename());
771                                                  }
772                                          }

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)