I have questions about this

This commit is contained in:
Enno Rehling 2016-09-10 21:12:19 +02:00
parent a41f3dbe27
commit 3a438ffd4f
1 changed files with 2 additions and 0 deletions

View File

@ -2543,6 +2543,8 @@ static void steal_cmd(unit * u, struct order *ord, request ** stealorders)
f = u2->faction;
}
else {
// TODO: is this really necessary? it's the only time we use faction.c/deadhash
// it allows stealing from a unit in a dead faction, but why?
f = dfindhash(id);
}