Remove outdated comment
id is nowdays always a local variable of SYNCED_COMMAND_HANDLER_FUNCTION(recall and never becomes invalid here
This commit is contained in:
parent
7810b0308e
commit
715a65438a
1 changed files with 0 additions and 4 deletions
|
@ -745,10 +745,6 @@ bool recall_unit(const std::string & id, team & current_team,
|
|||
if ( !recall )
|
||||
return false;
|
||||
|
||||
|
||||
// ** IMPORTANT: id might become invalid at this point!
|
||||
// (Use recall.id() instead, if needed.)
|
||||
|
||||
// Place the recall.
|
||||
// We also check to see if a custom unit level recall has been set if not,
|
||||
// we use the team's recall cost otherwise the unit's.
|
||||
|
|
Loading…
Add table
Reference in a new issue