LERNE-Befehl prüft auf vorherige lange Befehle.

This commit is contained in:
Enno Rehling 2005-05-27 21:03:48 +00:00
parent 279a791c9b
commit 20bf8c2052
1 changed files with 2 additions and 2 deletions

View File

@ -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;