command.c
changeset 652 0f553238c98a
parent 601 952c0295f79a
child 679 e959706a3e4d
equal deleted inserted replaced
651:32b229802ed2 652:0f553238c98a
   470 	_yearly_expenses_type = 0;
   470 	_yearly_expenses_type = 0;
   471 	res2 = proc(x,y, flags|DC_EXEC, p1, p2);
   471 	res2 = proc(x,y, flags|DC_EXEC, p1, p2);
   472 
   472 
   473 	// If notest is on, it means the result of the test can be different then
   473 	// If notest is on, it means the result of the test can be different then
   474 	//   the real command.. so ignore the test
   474 	//   the real command.. so ignore the test
   475 	if (!notest) {
   475 	if (!notest && !((cmd & CMD_NO_TEST_IF_IN_NETWORK) && _networking)) {
   476 		assert(res == res2); // sanity check
   476 		assert(res == res2); // sanity check
   477 	} else {
   477 	} else {
   478 		if ((uint32)res2 >> 16 == 0x8000) {
   478 		if ((uint32)res2 >> 16 == 0x8000) {
   479 			if (res2 & 0xFFFF) _error_message = res2 & 0xFFFF;
   479 			if (res2 & 0xFFFF) _error_message = res2 & 0xFFFF;
   480 			goto show_error;
   480 			goto show_error;