]> git.pond.sub.org Git - empserver/commitdiff
put_land()'s function comment has drifted away, fix
authorMarkus Armbruster <armbru@pond.sub.org>
Sat, 19 Jun 2010 14:29:33 +0000 (16:29 +0200)
committerMarkus Armbruster <armbru@pond.sub.org>
Sat, 24 Jul 2010 09:23:17 +0000 (11:23 +0200)
src/lib/subs/attsub.c

index 0aed297aeed44cac007c247fd77f71c7b3af7677..aebf5279cb3928d9bdfcfbaa95bf1f5e32e6fb5f 100644 (file)
@@ -1390,13 +1390,6 @@ get_land(int combat_mode, struct combat *def, struct ulist *llp)
     return 1;
 }
 
     return 1;
 }
 
-/*
- * Put the land unit on the disk.  If there was some mobility cost, then
- * subtract it from the units mobility.  Note that this works the same way
- * as sectors & ships in that no mobility is actually taken until the attacker
- * has committed to attacking.
- */
-
 static void
 kill_land(struct emp_qelem *list)
 {
 static void
 kill_land(struct emp_qelem *list)
 {
@@ -1429,6 +1422,13 @@ att_infect_units(struct emp_qelem *list, int plague)
     }
 }
 
     }
 }
 
+/*
+ * Put the land unit on the disk.  If there was some mobility cost, then
+ * subtract it from the units mobility.  Note that this works the same way
+ * as sectors & ships in that no mobility is actually taken until the attacker
+ * has committed to attacking.
+ */
+
 static void
 put_land(struct emp_qelem *list)
 {
 static void
 put_land(struct emp_qelem *list)
 {