Subversion Repositories spk

Rev

Rev 68 | Rev 94 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 68 Rev 77
Line 154... Line 154...
154
 
154
 
155
		vfs->updateModTexts(17);
155
		vfs->updateModTexts(17);
156
 
156
 
157
		String ^shipID = getShipSelection(vfs);
157
		String ^shipID = getShipSelection(vfs);
158
		if ( !shipID ) {
158
		if ( !shipID ) {
159
			MessageBox::Show(this, "There was a problem trying to load the mod file\n" + ofd->FileName, "Error Importing Ship", MessageBoxButtons::OK, MessageBoxIcon::Error);
159
			MessageBox::Show(this, "There was a problem trying to load the mod file\n" + ofd->FileName + "\n\nNo TShips file found", "Error Importing Ship", MessageBoxButtons::OK, MessageBoxIcon::Error);
160
		}
160
		}
161
		else if ( shipID->Length ) {
161
		else if ( shipID->Length ) {
162
			String ^loadMod = ofd->FileName;
162
			String ^loadMod = ofd->FileName;
163
			CXspFile *newShip = NULL;
163
			CXspFile *newShip = NULL;
164
 
164