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

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

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


From: Philippe Plantier
Subject: [Wesnoth-cvs-commits] wesnoth/src replay.cpp
Date: Mon, 28 Mar 2005 14:34:09 -0500

CVSROOT:        /cvsroot/wesnoth
Module name:    wesnoth
Branch:         
Changes by:     Philippe Plantier <address@hidden>      05/03/28 19:34:09

Modified files:
        src            : replay.cpp 

Log message:
        Oops, should save before commiting.

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

Patches:
Index: wesnoth/src/replay.cpp
diff -u wesnoth/src/replay.cpp:1.102 wesnoth/src/replay.cpp:1.103
--- wesnoth/src/replay.cpp:1.102        Mon Mar 28 19:08:58 2005
+++ wesnoth/src/replay.cpp      Mon Mar 28 19:34:09 2005
@@ -1,4 +1,4 @@
-/* $Id: replay.cpp,v 1.102 2005/03/28 19:08:58 gruikya Exp $ */
+/* $Id: replay.cpp,v 1.103 2005/03/28 19:34:09 gruikya Exp $ */
 /*
    Copyright (C) 2003 by David White <address@hidden>
    Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net
@@ -232,7 +232,6 @@
 {
        config* const cmd = add_command();
        cmd->add_child("start");
-       random_ = cmd;
 }
 
 void replay::add_recruit(int value, const gamemap::location& loc)
@@ -252,8 +251,6 @@
        val["y"] = buf;
 
        cmd->add_child("recruit",val);
-
-       random_ = cmd;
 }
 
 void replay::add_recall(int value, const gamemap::location& loc)
@@ -291,8 +288,6 @@
 void replay::add_movement(const gamemap::location& a,const gamemap::location& 
b)
 {
        add_pos("move",a,b);
-       //current_->add_child("verify",make_verify_units());
-       random_ = current_;
 }
 
 void replay::add_attack(const gamemap::location& a, const gamemap::location& 
b, int weapon)
@@ -301,7 +296,6 @@
        char buf[100];
        sprintf(buf,"%d",weapon);
        current_->child("attack")->values["weapon"] = buf;
-       random_ = current_;
 }
 
 void replay::add_pos(const std::string& type,
@@ -324,8 +318,6 @@
        move.add_child("source",src);
        move.add_child("destination",dst);
        cmd->add_child(type,move);
-
-       current_ = cmd;
 }
 
 void replay::add_value(const std::string& type, int value)




reply via email to

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