Fehlermeldungen für GIB ALLES

Entkomplizierung lange Befehle.
This commit is contained in:
Enno Rehling 2020-04-18 16:28:23 +02:00
parent 6ebb5c7591
commit 268d93293c
2 changed files with 4 additions and 8 deletions

View File

@ -796,6 +796,9 @@ static void give_all_items(unit *u, unit *u2, order *ord) {
} }
} }
} }
else {
cmistake(u, ord, 123, MSG_COMMERCE);
}
} }
} }
} }

View File

@ -3091,14 +3091,7 @@ void update_long_order(unit * u)
} }
break; break;
default: default:
if (kwd > thiskwd) { cmistake(u, ord, 52, MSG_EVENT);
/* swap out thisorder for the new one */
cmistake(u, u->thisorder, 52, MSG_EVENT);
set_order(&u->thisorder, copy_order(ord));
}
else {
cmistake(u, ord, 52, MSG_EVENT);
}
break; break;
} }
} }