Subversion Repositories spk

Rev

Rev 242 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 242 Rev 251
Line 143... Line 143...
143
		else if ( arg.Compare(L"SHIPCLASS") )
143
		else if ( arg.Compare(L"SHIPCLASS") )
144
		{
144
		{
145
			std::vector<Utils::WString> str;
145
			std::vector<Utils::WString> str;
146
			size_t max = rest.tokenise(L":", str);
146
			size_t max = rest.tokenise(L":", str);
147
			if ( max > 12 ) max = 12;
147
			if ( max > 12 ) max = 12;
148
			for ( int i = 0; i < max; i++ )
148
			for (size_t i = 0; i < max; i++ )
149
				m_iShipClass[i] = str[i].toInt();
149
				m_iShipClass[i] = str[i].toInt();
150
		}
150
		}
151
		else if ( arg.Compare(L"SHIPNAME") )
151
		else if ( arg.Compare(L"SHIPNAME") )
152
		{
152
		{
153
			m_shipData.sName = rest.token(L":", 1);
153
			m_shipData.sName = rest.token(L":", 1);