[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Wesnoth-cvs-commits] wesnoth/src replay.cpp
From: |
David White |
Subject: |
[Wesnoth-cvs-commits] wesnoth/src replay.cpp |
Date: |
Tue, 24 Aug 2004 23:01:19 -0400 |
CVSROOT: /cvsroot/wesnoth
Module name: wesnoth
Branch:
Changes by: David White <address@hidden> 04/08/25 02:56:30
Modified files:
src : replay.cpp
Log message:
fixed crash bug that could occur after undoing
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/replay.cpp.diff?tr1=1.77&tr2=1.78&r1=text&r2=text
Patches:
Index: wesnoth/src/replay.cpp
diff -u wesnoth/src/replay.cpp:1.77 wesnoth/src/replay.cpp:1.78
--- wesnoth/src/replay.cpp:1.77 Sat Aug 7 17:21:59 2004
+++ wesnoth/src/replay.cpp Wed Aug 25 02:56:30 2004
@@ -1,4 +1,4 @@
-/* $Id: replay.cpp,v 1.77 2004/08/07 17:21:59 Sirp Exp $ */
+/* $Id: replay.cpp,v 1.78 2004/08/25 02:56:30 Sirp Exp $ */
/*
Copyright (C) 2003 by David White <address@hidden>
Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net
@@ -429,6 +429,7 @@
if(cmd.first != cmd.second) {
cfg_.remove_child("command",cmd.second - cmd.first - 1);
+ current_ = random_ = NULL;
}
}
@@ -624,7 +625,7 @@
const int val =
lexical_cast_default<int>((*child)["value"]);
- const bool res =
dialogs::animate_unit_advancement(gameinfo,units,advancing_units.front(),disp,val);
+
dialogs::animate_unit_advancement(gameinfo,units,advancing_units.front(),disp,val);
advancing_units.pop_front();
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Wesnoth-cvs-commits] wesnoth/src replay.cpp,
David White <=