]> git.pond.sub.org Git - empserver/blobdiff - src/lib/commands/look.c
Update copyright notice
[empserver] / src / lib / commands / look.c
index 3cfab937c52c4bf93226b8fa23079adc8ce09f5f..5984b4c4b5f7f64859951b30b515f8a56f74cbfd 100644 (file)
@@ -1,6 +1,6 @@
 /*
  *  Empire - A multi-player, client/server Internet based war game.
- *  Copyright (C) 1986-2015, Dave Pare, Jeff Bailey, Thomas Ruschak,
+ *  Copyright (C) 1986-2021, Dave Pare, Jeff Bailey, Thomas Ruschak,
  *                Ken Stevens, Steve McClure, Markus Armbruster
  *
  *  Empire is free software: you can redistribute it and/or modify
@@ -28,7 +28,7 @@
  *
  *  Known contributors to this file:
  *     Ron Koenderink, 2006-2007
- *     Markus Armbruster, 2004-2013
+ *     Markus Armbruster, 2004-2016
  */
 
 #include <config.h>
@@ -226,10 +226,6 @@ look_land(struct lndstr *lookland)
            continue;
        /* Don't always see spies */
        if (lchr[(int)lp->lnd_type].l_flags & L_SPY) {
-           /* If it's on a ship or unit, assume it's hidden
-              enough not to be seen */
-           if (lp->lnd_ship >= 0 || lp->lnd_land >= 0)
-               continue;
            if (!(chance(LND_SPY_DETECT_CHANCE(lp->lnd_effic))))
                continue;
        }