forked from github/server
I have questions about this
This commit is contained in:
parent
a41f3dbe27
commit
3a438ffd4f
|
@ -2543,6 +2543,8 @@ static void steal_cmd(unit * u, struct order *ord, request ** stealorders)
|
||||||
f = u2->faction;
|
f = u2->faction;
|
||||||
}
|
}
|
||||||
else {
|
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);
|
f = dfindhash(id);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue