Subversion Repositories spk

Rev

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

Rev 1 Rev 39
Line 237... Line 237...
237
				this->cockpits[i].iCockpit = entries[(i * 2) + 31].ToInt();
237
				this->cockpits[i].iCockpit = entries[(i * 2) + 31].ToInt();
238
			else
238
			else
239
			{
239
			{
240
				this->cockpits[i].sCockpit = entries[(i * 2) + 31];
240
				this->cockpits[i].sCockpit = entries[(i * 2) + 31];
241
				this->cockpits[i].iCockpit = -1; // custom cockpit
241
				this->cockpits[i].iCockpit = -1; // custom cockpit
-
 
242
				if ( this->cockpits[i].sCockpit.IsIn("(") ) {
-
 
243
					this->cockpits[i].iCockpit = this->cockpits[i].sCockpit.GetToken("(", 2).GetToken(")", 1, 1).ToInt();
-
 
244
					this->cockpits[i].sCockpit = this->cockpits[i].sCockpit.GetToken("(", 1, 1);
-
 
245
				}
242
			}
246
			}
243
		}
247
		}
244
 
248
 
245
		this->iDocking = entries[43].ToInt();
249
		this->iDocking = entries[43].ToInt();
246
		this->iCargoClass = entries[44].ToInt();
250
		this->iCargoClass = entries[44].ToInt();