forked from github/server
Angriffe von Schiffen aus nur verbieten, wenn die Region bewacht wird.
This commit is contained in:
parent
050092015e
commit
ab4eaabc09
|
@ -3598,6 +3598,8 @@ init_battle(region * r, battle **bp)
|
|||
continue;
|
||||
}
|
||||
|
||||
|
||||
if (is_guarded(r, u, GUARD_TRAVELTHRU)) {
|
||||
/* Fehler: "Das Schiff muß erst verlassen werden" */
|
||||
if (u->ship != NULL && rterrain(r) != T_OCEAN) {
|
||||
cmistake(u, ord, 19, MSG_BATTLE);
|
||||
|
@ -3608,7 +3610,7 @@ init_battle(region * r, battle **bp)
|
|||
cmistake(u, ord, 234, MSG_BATTLE);
|
||||
continue;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/* Ende Fehlerbehandlung Angreifer */
|
||||
|
||||
|
|
Loading…
Reference in New Issue