]> git.pond.sub.org Git - empserver/blobdiff - src/lib/commands/skyw.c
Update copyright notice
[empserver] / src / lib / commands / skyw.c
index 6cecd8f06e78859a3bdcc3aec16ba9e7f4c5692d..4e659bcc038b9c1e9c7ebb662628880c9c29a010 100644 (file)
@@ -1,6 +1,6 @@
 /*
  *  Empire - A multi-player, client/server Internet based war game.
- *  Copyright (C) 1986-2008, Dave Pare, Jeff Bailey, Thomas Ruschak,
+ *  Copyright (C) 1986-2009, Dave Pare, Jeff Bailey, Thomas Ruschak,
  *                           Ken Stevens, Steve McClure
  *
  *  This program is free software; you can redistribute it and/or modify
@@ -26,7 +26,7 @@
  *  ---
  *
  *  skyw.c: Look at satellites in the sky.
- * 
+ *
  *  Known contributors to this file:
  *     Ken Stevens, 1995
  */
@@ -74,7 +74,7 @@ skyw(void)
     while (nxtitem(&ni, &skyp->s_sat)) {
        if (!skyp->s_sat.pln_own)
            continue;
-       if (!(skyp->s_sat.pln_flags & PLN_LAUNCHED))
+       if (!pln_is_in_orbit(&skyp->s_sat))
            continue;
        getsect(skyp->s_sat.pln_x, skyp->s_sat.pln_y, &sect);
        n = scthash(skyp->s_sat.pln_x, skyp->s_sat.pln_y, TSIZE);