]> git.pond.sub.org Git - empserver/blobdiff - src/lib/update/prepare.c
Update copyright notice
[empserver] / src / lib / update / prepare.c
index 26652579a08bed0675fea6baf68516b64d75f314..13e44f263021126c5c5e772765986d3c304f63c0 100644 (file)
@@ -1,6 +1,6 @@
 /*
  *  Empire - A multi-player, client/server Internet based war game.
- *  Copyright (C) 1986-2006, Dave Pare, Jeff Bailey, Thomas Ruschak,
+ *  Copyright (C) 1986-2008, Dave Pare, Jeff Bailey, Thomas Ruschak,
  *                           Ken Stevens, Steve McClure
  *
  *  This program is free software; you can redistribute it and/or modify
@@ -44,7 +44,7 @@
 #include "update.h"
 
 void
-prepare_sects(int etu, int *bp)
+prepare_sects(int etu, struct bp *bp)
 {
     struct sctstr *sp;
     struct natstr *np;
@@ -77,7 +77,7 @@ prepare_sects(int etu, int *bp)
 
        if (sp->sct_type == SCT_WATER)
            continue;
-       fill_update_array(bp, sp);
+       bp_set_from_sect(bp, sp);
        np = getnatp(sp->sct_own);
 
 #ifdef DEBUG