[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Stratagus-CVS] stratagus/src/ui mouse.c
From: |
Jimmy Salmon |
Subject: |
[Stratagus-CVS] stratagus/src/ui mouse.c |
Date: |
Tue, 21 Oct 2003 22:41:23 -0400 |
CVSROOT: /cvsroot/stratagus
Module name: stratagus
Branch:
Changes by: Jimmy Salmon <address@hidden> 03/10/21 22:41:23
Modified files:
src/ui : mouse.c
Log message:
Cleanup
Patches:
Index: stratagus/src/ui/mouse.c
diff -u stratagus/src/ui/mouse.c:1.155 stratagus/src/ui/mouse.c:1.156
--- stratagus/src/ui/mouse.c:1.155 Sat Oct 18 22:55:57 2003
+++ stratagus/src/ui/mouse.c Tue Oct 21 22:41:23 2003
@@ -26,7 +26,7 @@
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
// 02111-1307, USA.
//
-// $Id: mouse.c,v 1.155 2003/10/19 02:55:57 jsalmon3 Exp $
+// $Id: mouse.c,v 1.156 2003/10/22 02:41:23 jsalmon3 Exp $
//@{
@@ -205,8 +205,8 @@
SendCommandReturnGoods(unit, dest, flush);
continue;
}
- // Go and harvest from an building
- if ((res=dest->Type->GivesResource) &&
+ // Go and harvest from a building
+ if ((res = dest->Type->GivesResource) &&
(unit->Type->ResInfo[res]) &&
(unit->Value <
unit->Type->ResInfo[res]->ResourceCapacity) &&
(dest->Type->CanHarvest) &&