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: John McNabb
Subject: [Wesnoth-cvs-commits] wesnoth/src actions.cpp
Date: Fri, 13 May 2005 10:00:47 -0400

CVSROOT:        /cvsroot/wesnoth
Module name:    wesnoth
Branch:         
Changes by:     John McNabb <address@hidden>    05/05/13 14:00:47

Modified files:
        src            : actions.cpp 

Log message:
        plague now creates traits, bug 13056

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

Patches:
Index: wesnoth/src/actions.cpp
diff -u wesnoth/src/actions.cpp:1.216 wesnoth/src/actions.cpp:1.217
--- wesnoth/src/actions.cpp:1.216       Tue May 10 21:07:43 2005
+++ wesnoth/src/actions.cpp     Fri May 13 14:00:47 2005
@@ -1,4 +1,4 @@
-/* $Id: actions.cpp,v 1.216 2005/05/10 21:07:43 ott Exp $ */
+/* $Id: actions.cpp,v 1.217 2005/05/13 14:00:47 darthfool Exp $ */
 /*
    Copyright (C) 2003 by David White <address@hidden>
    Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net
@@ -821,7 +821,7 @@
                                        LOG_NG<<"found unit 
type:"<<reanimitor->second.id()<<std::endl;
                                        
                                        if(reanimitor != info.unit_types.end()) 
{
-                                              unit 
newunit=unit(&reanimitor->second,a->second.side(),false,true);
+                                              unit 
newunit=unit(&reanimitor->second,a->second.side(),true,true);
                                               //apply variation                
                               
                                               
if(strcmp(undead_variation.c_str(),"null")){
                                                 config mod;
@@ -987,7 +987,7 @@
                                        LOG_NG<<"found unit 
type:"<<reanimitor->second.id()<<std::endl;
                                        
                                        if(reanimitor != info.unit_types.end()) 
{
-                                              unit 
newunit=unit(&reanimitor->second,d->second.side(),false,true);
+                                              unit 
newunit=unit(&reanimitor->second,d->second.side(),true,true);
                                               //apply variation
                                               
if(strcmp(undead_variation.c_str(),"null")){
                                                 config mod;




reply via email to

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