forked from github/server
LERNE-Befehl prüft auf vorherige lange Befehle.
This commit is contained in:
parent
279a791c9b
commit
20bf8c2052
|
@ -456,11 +456,11 @@ learn(void)
|
||||||
int days;
|
int days;
|
||||||
if (rterrain(r) == T_OCEAN){
|
if (rterrain(r) == T_OCEAN){
|
||||||
/* sonderbehandlung aller die auf Ozeanen lernen können */
|
/* sonderbehandlung aller die auf Ozeanen lernen können */
|
||||||
if (u->race != new_race[RC_AQUARIAN]
|
if (u->race!=new_race[RC_AQUARIAN] && !(u->race->flags & RCF_SWIM)) {
|
||||||
&& !(u->race->flags & RCF_SWIM)) {
|
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (fval(u, UFL_LONGACTION)) continue;
|
||||||
if (get_keyword(u->thisorder) == K_STUDY) {
|
if (get_keyword(u->thisorder) == K_STUDY) {
|
||||||
double multi = 1.0;
|
double multi = 1.0;
|
||||||
attrib * a = NULL;
|
attrib * a = NULL;
|
||||||
|
|
Loading…
Reference in New Issue