Advertisement
Guest User

Untitled

a guest
Jul 27th, 2017
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.37 KB | None | 0 0
  1. +       //get unit from recall list
  2. +       unit recalled_unit = *recall_list_element;
  3. +       team_.recall_list().erase(recall_list_element);
  4. +       map_location loc = find_location(temp_cfg, &recalled_unit);
  5. +       if(!loc.valid()) {
  6. +           LOG_NG << "wanted to insert unit on recall list, but recall list for side " << (cfg)["side"] << "already contains id=" <<id<<"\n";
  7. +           return;
  8.         } else {
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement