forked from github/server
Fehlermeldungen für GIB ALLES
Entkomplizierung lange Befehle.
This commit is contained in:
parent
6ebb5c7591
commit
268d93293c
|
@ -796,6 +796,9 @@ static void give_all_items(unit *u, unit *u2, order *ord) {
|
|||
}
|
||||
}
|
||||
}
|
||||
else {
|
||||
cmistake(u, ord, 123, MSG_COMMERCE);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -3091,14 +3091,7 @@ void update_long_order(unit * u)
|
|||
}
|
||||
break;
|
||||
default:
|
||||
if (kwd > thiskwd) {
|
||||
/* 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);
|
||||
}
|
||||
cmistake(u, ord, 52, MSG_EVENT);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue