wesnoth-cvs-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Wesnoth-cvs-commits] wesnoth/src actions.cpp


From: Isaac Clerencia
Subject: [Wesnoth-cvs-commits] wesnoth/src actions.cpp
Date: Sun, 05 Jun 2005 13:30:00 -0400

CVSROOT:        /cvsroot/wesnoth
Module name:    wesnoth
Branch:         
Changes by:     Isaac Clerencia <address@hidden>        05/06/05 17:29:59

Modified files:
        src            : actions.cpp 

Log message:
        Try to fix new created corpses attacking in the same turn

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/actions.cpp.diff?tr1=1.228&tr2=1.229&r1=text&r2=text

Patches:
Index: wesnoth/src/actions.cpp
diff -u wesnoth/src/actions.cpp:1.228 wesnoth/src/actions.cpp:1.229
--- wesnoth/src/actions.cpp:1.228       Sat Jun  4 19:16:05 2005
+++ wesnoth/src/actions.cpp     Sun Jun  5 17:29:59 2005
@@ -1,4 +1,4 @@
-/* $Id: actions.cpp,v 1.228 2005/06/04 19:16:05 ott Exp $ */
+/* $Id: actions.cpp,v 1.229 2005/06/05 17:29:59 isaaccp Exp $ */
 /*
    Copyright (C) 2003 by David White <address@hidden>
    Part of the Battle for Wesnoth Project http://www.wesnoth.org/
@@ -833,6 +833,8 @@
 
                                        if(reanimitor != info.unit_types.end()) 
{
                                               unit 
newunit=unit(&reanimitor->second,a->second.side(),true,true);
+                                              newunit.set_attacked();
+
                                               //apply variation
                                               
if(strcmp(undead_variation.c_str(),"null")){
                                                 config mod;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]