[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Stratagus-CVS] stratagus/src/unit unit_find.c
From: |
address@hidden |
Subject: |
[Stratagus-CVS] stratagus/src/unit unit_find.c |
Date: |
1 Feb 2004 07:19:23 +1100 |
CVSROOT: /home/strat
Module name: stratagus
Changes by: <address@hidden> 04/02/01 07:19:22
Modified files:
src/unit : unit_find.c
Log message:
Attack units should use VisibleAsGoal, attack range may be more than
visible range
Patches:
Index: stratagus/src/unit/unit_find.c
diff -u stratagus/src/unit/unit_find.c:1.72 stratagus/src/unit/unit_find.c:1.73
--- stratagus/src/unit/unit_find.c:1.72 Fri Jan 30 20:48:01 2004
+++ stratagus/src/unit/unit_find.c Sun Feb 1 07:19:22 2004
@@ -26,7 +26,7 @@
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
// 02111-1307, USA.
//
-// $Id: unit_find.c,v 1.72 2004/01/30 09:48:01 nobody_ Exp $
+// $Id: unit_find.c,v 1.73 2004/01/31 20:19:22 wizzard Exp $
//@{
@@ -781,7 +781,7 @@
for (i = 0; i < n; ++i) {
dest = table[i];
- if (!UnitVisibleOnMap(dest, unit->Player)) {
+ if (!UnitVisibleAsGoal(dest, unit->Player)) {
continue;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Stratagus-CVS] stratagus/src/unit unit_find.c,
address@hidden <=