[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Stratagus-CVS] stratagus/src/clone spells.c
From: |
Jimmy Salmon |
Subject: |
[Stratagus-CVS] stratagus/src/clone spells.c |
Date: |
Thu, 13 Nov 2003 18:14:42 -0500 |
CVSROOT: /cvsroot/stratagus
Module name: stratagus
Branch:
Changes by: Jimmy Salmon <address@hidden> 03/11/13 18:14:42
Modified files:
src/clone : spells.c
Log message:
Show missile for demolish spell
Patches:
Index: stratagus/src/clone/spells.c
diff -u stratagus/src/clone/spells.c:1.125 stratagus/src/clone/spells.c:1.126
--- stratagus/src/clone/spells.c:1.125 Wed Nov 12 15:40:25 2003
+++ stratagus/src/clone/spells.c Thu Nov 13 18:14:41 2003
@@ -27,7 +27,7 @@
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
// 02111-1307, USA.
//
-// $Id: spells.c,v 1.125 2003/11/12 20:40:25 jsalmon3 Exp $
+// $Id: spells.c,v 1.126 2003/11/13 23:14:41 jsalmon3 Exp $
/*
** And when we cast our final spell
@@ -161,6 +161,12 @@
MapRemoveWood(ix, iy);
}
}
+ }
+
+ if (spell->Missile) {
+ MakeMissile(spell->Missile,
+ x * TileSizeX + TileSizeX / 2, y * TileSizeY + TileSizeY / 2,
+ x * TileSizeX + TileSizeX / 2, y * TileSizeY + TileSizeY / 2);
}
return 1;
}