Fix login
This commit is contained in:
@@ -15,7 +15,7 @@ namespace Game.Movement
|
||||
public class WaypointMovementGenerator : MovementGeneratorMedium<Creature>
|
||||
{
|
||||
uint _pathId;
|
||||
WaypointPath _path;
|
||||
WaypointPath _path = new();
|
||||
int _currentNode;
|
||||
|
||||
TimeTracker _duration;
|
||||
@@ -28,8 +28,8 @@ namespace Game.Movement
|
||||
bool _repeating;
|
||||
bool _generatePath;
|
||||
|
||||
TimeTracker _moveTimer;
|
||||
TimeTracker _nextMoveTime;
|
||||
TimeTracker _moveTimer = new();
|
||||
TimeTracker _nextMoveTime = new();
|
||||
List<int> _waypointTransitionSplinePoints = new();
|
||||
int _waypointTransitionSplinePointsIndex;
|
||||
bool _isReturningToStart;
|
||||
|
||||
@@ -27,8 +27,8 @@ namespace Game
|
||||
|
||||
var oldMSTime = Time.GetMSTime();
|
||||
|
||||
// 0 1 2
|
||||
SQLResult result = DB.World.Query("SELECT PathId, MoveType, Flags FROM waypoint_path");
|
||||
// 0 1 2 3
|
||||
SQLResult result = DB.World.Query("SELECT PathId, MoveType, Flags, Velocity FROM waypoint_path");
|
||||
if (result.IsEmpty())
|
||||
{
|
||||
Log.outInfo(LogFilter.ServerLoading, "Loaded 0 waypoint paths. DB table `waypoint_path` is empty!");
|
||||
|
||||
Reference in New Issue
Block a user