Remove dead code

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2687 4a71c877-e1ca-e34f-864e-861f7616d084
master
Per Inge Mathisen 2007-11-03 15:08:06 +00:00
parent c76b591954
commit 2ac16d28c4
2 changed files with 0 additions and 27 deletions

View File

@ -5513,15 +5513,6 @@ DROID * giftSingleDroid(DROID *psD, UDWORD to)
CHECK_DROID(psD); CHECK_DROID(psD);
//leave any group it belongs to - this gets called in droidRemove()
/*if(psD->psGroup)
{
grpLeave( psD->psGroup, psD);
psD->psGroup = NULL;
}*/
// remove the droid from the cluster systerm - this gets called in droidRemove()
//clustRemoveObject((BASE_OBJECT *)psD);
if(psD->player == to) if(psD->player == to)
{ {
return psD; return psD;

View File

@ -2215,24 +2215,6 @@ void aiUpdateMissionStructure(STRUCTURE *psStructure)
intRefreshScreen(); // update the interface. intRefreshScreen(); // update the interface.
} }
//store the factory as the droid's baseStructure instead
//add it to the factory group
/*if (!psFactory->psGroup)
{
//create the factory group
if (!grpCreate(&psFactory->psGroup))
{
DBPRINTF(("missionUpdateStructure: unable to create group\n"));
}
else
{
grpJoin(psFactory->psGroup, psNewDroid);
}
}
else
{
grpJoin(psFactory->psGroup, psNewDroid);
}*/
setDroidBase(psNewDroid, psStructure); setDroidBase(psNewDroid, psStructure);
//reset the start time //reset the start time