Adds replay support for "break" command

This commit is contained in:
Jörg Hinrichs 2005-11-15 23:22:05 +00:00
parent f89359cdd0
commit 732f67480b
2 changed files with 4 additions and 1 deletions

View file

@ -595,6 +595,9 @@ bool do_replay(display& disp, const gamemap& map, const game_data& gameinfo,
else if(cfg->child("start") != NULL) {
//do nothing
} else if(cfg->child("break") != NULL) {
//do nothing
} else if((child = cfg->child("speak")) != NULL) {
const std::string& team_name = (*child)["team_name"];
if(team_name == "" || teams[disp.viewing_team()].team_name() == team_name) {

View file

@ -28,7 +28,7 @@
//DEBUG
#include <iostream>
#include <serialization/parser.hpp>
#include "serialization/parser.hpp"
#include <algorithm>
#include <cstdlib>