default controlables and items to mPathfindingIgnore = true;

This commit is contained in:
AzaezelX 2026-01-14 09:21:57 -06:00
parent 4481bdc726
commit b8f7d186d3
3 changed files with 3 additions and 2 deletions

View file

@ -312,6 +312,7 @@ IMPLEMENT_CALLBACK( Item, onLeaveLiquid, void, ( const char* objID, const char*
Item::Item()
{
mTypeMask |= ItemObjectType | DynamicShapeObjectType;
mPathfindingIgnore = true;
mDataBlock = 0;
mStatic = false;
mRotate = false;

View file

@ -1552,7 +1552,7 @@ ConsoleDocClass( Player,
Player::Player()
{
mTypeMask |= PlayerObjectType | DynamicShapeObjectType;
mPathfindingIgnore = true;
mDelta.pos = mAnchorPoint = Point3F(0,0,100);
mDelta.rot = mDelta.head = Point3F(0,0,0);
mDelta.rotOffset.set(0.0f,0.0f,0.0f);

View file

@ -376,7 +376,7 @@ Vehicle::Vehicle()
{
mDataBlock = 0;
mTypeMask |= VehicleObjectType | DynamicShapeObjectType;
mPathfindingIgnore = true;
mDelta.pos = Point3F(0,0,0);
mDelta.posVec = Point3F(0,0,0);
mDelta.warpTicks = mDelta.warpCount = 0;