mirror of
https://bitbucket.org/theswgsource/src-1.2.git
synced 2026-09-11 21:44:58 -04:00
remove SOE deprecated code and files - leaving in the #if 0 blocks with TODO and other possible uses for later
This commit is contained in:
@@ -2821,12 +2821,6 @@ float CreatureObject::alter(float time)
|
||||
}
|
||||
|
||||
//check timer and migrate stats if necessary
|
||||
|
||||
//disable self stat migration
|
||||
#if 0
|
||||
migrateStats(time);
|
||||
#endif
|
||||
|
||||
if (isPlayerControlled())
|
||||
{
|
||||
PROFILER_AUTO_BLOCK_DEFINE("CreatureObject::alter auth player stuff");
|
||||
|
||||
@@ -112,36 +112,12 @@ void GroupWaypointBuilderNamespace::updateGroupWaypoints(PlayerObject &playerObj
|
||||
|
||||
void GroupWaypointBuilder::updateGroupWaypoints(GroupObject const &groupObject)
|
||||
{
|
||||
#if 0
|
||||
PlayerObject::WaypointMap groupWaypoints;
|
||||
buildGroupWaypoints(groupObject, groupWaypoints);
|
||||
GroupWaypointBuilderNamespace::updateGroupWaypoints(groupObject, groupWaypoints);
|
||||
#endif
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
void GroupWaypointBuilder::updateGroupWaypoints(PlayerObject &playerObject, bool const updateGroup)
|
||||
{
|
||||
#if 0
|
||||
CreatureObject const * const creatureObject = playerObject.getCreatureObject();
|
||||
if (creatureObject)
|
||||
{
|
||||
GroupObject const * const groupObject = creatureObject->getGroup();
|
||||
if (groupObject && updateGroup)
|
||||
{
|
||||
PlayerObject::WaypointMap groupWaypoints;
|
||||
buildGroupWaypoints(*groupObject, groupWaypoints);
|
||||
GroupWaypointBuilderNamespace::updateGroupWaypoints(*groupObject, groupWaypoints);
|
||||
}
|
||||
else
|
||||
{
|
||||
PlayerObject::WaypointMap groupWaypoints;
|
||||
buildGroupWaypoints(playerObject, groupWaypoints);
|
||||
GroupWaypointBuilderNamespace::updateGroupWaypoints(playerObject, groupWaypoints);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
// ======================================================================
|
||||
|
||||
@@ -2411,13 +2411,6 @@ int ServerObject::getVolume(void) const
|
||||
{
|
||||
const VolumeContainmentProperty* volumeProperty = ContainerInterface::getVolumeContainmentProperty(*this);
|
||||
return volumeProperty ? volumeProperty->getVolume() : 1;
|
||||
#if 0
|
||||
const VolumeContainer * container = ContainerInterface::getVolumeContainer(*this);
|
||||
if (container)
|
||||
return m_volume.get()+container->getCurrentVolume();
|
||||
else
|
||||
return m_volume.get();
|
||||
#endif
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user