Adds replay support for "break" command
This commit is contained in:
parent
f89359cdd0
commit
732f67480b
2 changed files with 4 additions and 1 deletions
|
@ -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) {
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
|
||||
//DEBUG
|
||||
#include <iostream>
|
||||
#include <serialization/parser.hpp>
|
||||
#include "serialization/parser.hpp"
|
||||
|
||||
#include <algorithm>
|
||||
#include <cstdlib>
|
||||
|
|
Loading…
Add table
Reference in a new issue