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:
gfgtdf 2024-06-27 16:32:23 +02:00 committed by sevu
parent 7810b0308e
commit 715a65438a

View file

@ -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.