]> git.pond.sub.org Git - empserver/commitdiff
(take_move_in_mob): Automatic fortification on excess mobility may
authorMarkus Armbruster <armbru@pond.sub.org>
Thu, 29 Jan 2004 11:55:26 +0000 (11:55 +0000)
committerMarkus Armbruster <armbru@pond.sub.org>
Thu, 29 Jan 2004 11:55:26 +0000 (11:55 +0000)
fortify units while they are `at the prompt'.  That's okay.  But
action that consumes mobility must zap the fortification again.

src/lib/subs/attsub.c

index 4793899048346de9a2d4303424a3cd6429119119..5a575494d7656da29ec03e73a6eb4b869a833074 100644 (file)
@@ -2649,6 +2649,7 @@ take_move_in_mob(int combat_mode, struct llist *llp, struct combat *off,
            llp->land.lnd_mobil -= 40;
        break;
     }
+    llp->land.lnd_harden = 0;
 }
 
 static void