From 694896f4d40a5491a2cf6de89fd948cf48d85bda Mon Sep 17 00:00:00 2001 From: hondacrx Date: Sun, 29 May 2022 20:54:06 -0400 Subject: [PATCH] Core/Vehicles: Remove unused field Port From (https://github.com/TrinityCore/TrinityCore/commit/ff80b5ad6798f662a5bf5e63a441b9170be0fc61) --- Source/Game/Entities/Vehicle.cs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Source/Game/Entities/Vehicle.cs b/Source/Game/Entities/Vehicle.cs index 9bdbdee23..3060f20cd 100644 --- a/Source/Game/Entities/Vehicle.cs +++ b/Source/Game/Entities/Vehicle.cs @@ -36,7 +36,6 @@ namespace Game.Entities _vehicleInfo = vehInfo; _creatureEntry = creatureEntry; _status = Status.None; - _lastShootPos = new Position(); for (uint i = 0; i < SharedConst.MaxVehicleSeats; ++i) { @@ -584,15 +583,11 @@ namespace Game.Entities public VehicleRecord GetVehicleInfo() { return _vehicleInfo; } public uint GetCreatureEntry() { return _creatureEntry; } - public void SetLastShootPos(Position pos) { _lastShootPos.Relocate(pos); } - Position GetLastShootPos() { return _lastShootPos; } - Unit _me; VehicleRecord _vehicleInfo; //< DBC data for vehicle uint _creatureEntry; //< Can be different than the entry of _me in case of players Status _status; //< Internal variable for sanity checks - Position _lastShootPos; List _pendingJoinEvents = new(); public Dictionary Seats = new();