forked from github/server
"Damaged ship didn't sail although load was exactly at capacity" Die Silberaufrundng wird nur noch im Report gemacht. Alles andere verwirrt.
This commit is contained in:
parent
0b4bc1743e
commit
7c258dde41
2 changed files with 0 additions and 2 deletions
|
@ -1164,7 +1164,6 @@ enter_ship(unit * u, struct order * ord, int id, boolean report)
|
||||||
getshipweight(sh, &sweight, &scabins);
|
getshipweight(sh, &sweight, &scabins);
|
||||||
sweight += weight(u);
|
sweight += weight(u);
|
||||||
scabins += u->number;
|
scabins += u->number;
|
||||||
sweight = ((sweight+99) / 100) * 100; /* Silberreste aufrunden */
|
|
||||||
|
|
||||||
if (sweight > mweight || scabins > mcabins) {
|
if (sweight > mweight || scabins > mcabins) {
|
||||||
if (report) cmistake(u, ord, 34, MSG_MOVE);
|
if (report) cmistake(u, ord, 34, MSG_MOVE);
|
||||||
|
|
|
@ -449,7 +449,6 @@ cansail(const region * r, ship * sh)
|
||||||
if (sh->type->construction && sh->size!=sh->type->construction->maxsize)
|
if (sh->type->construction && sh->size!=sh->type->construction->maxsize)
|
||||||
return false;
|
return false;
|
||||||
getshipweight(sh, &n, &p);
|
getshipweight(sh, &n, &p);
|
||||||
n = ((n+99)/100) * 100; /* Silberreste aufrunden */
|
|
||||||
|
|
||||||
if( is_cursed(sh->attribs, C_SHIP_FLYING, 0) ) {
|
if( is_cursed(sh->attribs, C_SHIP_FLYING, 0) ) {
|
||||||
if (sh->type->cargo>500*100)
|
if (sh->type->cargo>500*100)
|
||||||
|
|
Loading…
Reference in a new issue