mirror of
https://github.com/1dot13/source.git
synced 2026-09-16 14:47:17 +02:00
Add FIXME
This commit is contained in:
@@ -2877,7 +2877,10 @@ BOOLEAN LuaIDScripts(UINT8 Init, UINT8 ubTargetNPC, UINT16 usActionCode, UINT8 u
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// FIXME: Right now this function returns the very first pSoldier from CIV_TEAM that is active and in sector
|
||||||
|
// Neither one of the function arguments are used inside the function and the only place where this is called
|
||||||
|
// makes it look like it *is* supposed to match against specific profile *and* restrict the search to player mercs.
|
||||||
|
// That last part makes no sense since player mercs are part of OUR_TEAM
|
||||||
SOLDIERTYPE* FindSoldierByProfileID2(UINT8 ubProfileID, BOOLEAN fPlayerMercsOnly)
|
SOLDIERTYPE* FindSoldierByProfileID2(UINT8 ubProfileID, BOOLEAN fPlayerMercsOnly)
|
||||||
{
|
{
|
||||||
SoldierID soldier = gTacticalStatus.Team[CIV_TEAM].bFirstID;
|
SoldierID soldier = gTacticalStatus.Team[CIV_TEAM].bFirstID;
|
||||||
|
|||||||
Reference in New Issue
Block a user