[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Stratagus-CVS] stratagus/src action/action_follow.c editor/edi...
From: |
address@hidden |
Subject: |
[Stratagus-CVS] stratagus/src action/action_follow.c editor/edi... |
Date: |
7 Feb 2004 00:00:53 +1100 |
CVSROOT: /home/strat
Module name: stratagus
Changes by: <address@hidden> 04/02/07 00:00:53
Modified files:
src/action : action_follow.c
src/editor : editloop.c edmap.c
Log message:
Fix portal crash and minor editor stuff.
Patches:
Index: stratagus/src/action/action_follow.c
diff -u stratagus/src/action/action_follow.c:1.37
stratagus/src/action/action_follow.c:1.38
--- stratagus/src/action/action_follow.c:1.37 Sun Jan 25 15:47:26 2004
+++ stratagus/src/action/action_follow.c Sat Feb 7 00:00:51 2004
@@ -26,7 +26,7 @@
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
// 02111-1307, USA.
//
-// $Id: action_follow.c,v 1.37 2004/01/25 04:47:26 wizzard Exp $
+// $Id: action_follow.c,v 1.38 2004/02/06 13:00:51 nobody_ Exp $
//@{
@@ -136,6 +136,7 @@
// Teleport the unit
RemoveUnit(unit, NULL);
+ UnitCacheRemove(unit);
unit->X = goal->Goal->X;
unit->Y = goal->Goal->Y;
DropOutOnSide(unit, unit->Direction, 1, 1);
Index: stratagus/src/editor/editloop.c
diff -u stratagus/src/editor/editloop.c:1.164
stratagus/src/editor/editloop.c:1.165
--- stratagus/src/editor/editloop.c:1.164 Mon Feb 2 00:46:48 2004
+++ stratagus/src/editor/editloop.c Sat Feb 7 00:00:52 2004
@@ -26,7 +26,7 @@
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
// 02111-1307, USA.
//
-// $Id: editloop.c,v 1.164 2004/02/01 13:46:48 nobody_ Exp $
+// $Id: editloop.c,v 1.165 2004/02/06 13:00:52 nobody_ Exp $
//@{
@@ -1174,6 +1174,7 @@
if (TheMap.Info->PlayerType[CursorPlayer] !=
PlayerNobody) {
SelectedPlayer = CursorPlayer;
ThisPlayer = Players + SelectedPlayer;
+ MustRedraw |= RedrawMinimap;
}
return;
}
Index: stratagus/src/editor/edmap.c
diff -u stratagus/src/editor/edmap.c:1.26 stratagus/src/editor/edmap.c:1.27
--- stratagus/src/editor/edmap.c:1.26 Sun Dec 21 20:53:55 2003
+++ stratagus/src/editor/edmap.c Sat Feb 7 00:00:52 2004
@@ -26,7 +26,7 @@
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
// 02111-1307, USA.
//
-// $Id: edmap.c,v 1.26 2003/12/21 09:53:55 wizzard Exp $
+// $Id: edmap.c,v 1.27 2004/02/06 13:00:52 nobody_ Exp $
//@{
@@ -168,7 +168,7 @@
int j;
int n;
- DebugLevel0Fn("base %X goal %X\n" _C_ base _C_ goal);
+ DebugLevel3Fn("base %X goal %X\n" _C_ base _C_ goal);
//
// Find any mixed tile
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Stratagus-CVS] stratagus/src action/action_follow.c editor/edi...,
address@hidden <=