]> git.pond.sub.org Git - empserver/commitdiff
Remove redundant initializations from fairland's fl_sct_init()
authorMarkus Armbruster <armbru@pond.sub.org>
Mon, 25 Feb 2008 20:22:07 +0000 (21:22 +0100)
committerMarkus Armbruster <armbru@pond.sub.org>
Fri, 14 Mar 2008 19:25:09 +0000 (20:25 +0100)
src/util/fairland.c

index 20c47158acc4b30510878e885fcc15af64cda7bd..8a5696d1a77dcb0e28a96b300ea2a53cb549c081 100644 (file)
@@ -1221,9 +1221,6 @@ fl_sct_init(coord x, coord y, struct sctstr *sp)
     sp->sct_y = y;
     sp->sct_dist_x = x;
     sp->sct_dist_y = y;
-    sp->sct_road = 0;
-    sp->sct_rail = 0;
-    sp->sct_defense = 0;
     sp->sct_coastal = 1;
 }