Removed the C++ code for [show_objectives] as it was never released.
This commit is contained in:
parent
c4c8e7e2fd
commit
f9b46e2d38
1 changed files with 0 additions and 15 deletions
|
@ -1213,21 +1213,6 @@ WML_HANDLER_FUNCTION(objectives, /*event_info*/, cfg)
|
|||
}
|
||||
}
|
||||
|
||||
WML_HANDLER_FUNCTION(show_objectives, /*event_info*/, cfg)
|
||||
{
|
||||
const game_events::resources_t &rsrc = *game_events::resources;
|
||||
|
||||
std::string side = cfg["side"];
|
||||
const size_t side_num = lexical_cast_default<size_t>(side,0);
|
||||
if(side_num == 0) {
|
||||
foreach (team &t, *rsrc.teams) {
|
||||
t.set_objectives_changed();
|
||||
}
|
||||
} else {
|
||||
(*rsrc.teams)[side_num - 1].set_objectives_changed();
|
||||
}
|
||||
}
|
||||
|
||||
// Helper function(s) for [set_variable]
|
||||
namespace {
|
||||
bool isint(const std::string &var) {
|
||||
|
|
Loading…
Add table
Reference in a new issue