mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-29 07:23:15 +00:00
Remove an unused variable.
Code should have been removed in 2010-08-27T18:07:55Z!koraq@xs4all.nl. Fixes a g++ 4.6 warning.
This commit is contained in:
parent
8f3ceb39a7
commit
c770e4add1
@ -920,14 +920,6 @@ bool game_controller::play_multiplayer_mode()
|
||||
level.add_child("era", era_cfg);
|
||||
|
||||
try {
|
||||
//check if all sides are AI and we are using new uploader -> log these games
|
||||
bool all_ai = true;
|
||||
foreach (config &s, level.child_range("side")) {
|
||||
if( s["controller"] != "ai" ) {
|
||||
all_ai = false;
|
||||
}
|
||||
}
|
||||
|
||||
recorder.add_log_data("ai_log","ai_label",label);
|
||||
|
||||
state_.snapshot = level;
|
||||
|
Loading…
x
Reference in New Issue
Block a user