Add smoothPath property to RuntimeResolvedNpcPathState

This commit is contained in:
2026-04-15 11:12:56 +02:00
parent a4107516e5
commit b9dcdf72fa

View File

@@ -259,6 +259,7 @@ export interface RuntimeResolvedNpcPathState {
progressMode: "deriveFromTime";
speed: number;
loop: boolean;
smoothPath: boolean;
elapsedHours: number;
distance: number;
progress: number;
@@ -492,6 +493,7 @@ function cloneRuntimeResolvedNpcPathState(
progressMode: pathState.progressMode,
speed: pathState.speed,
loop: pathState.loop,
smoothPath: pathState.smoothPath,
elapsedHours: pathState.elapsedHours,
distance: pathState.distance,
progress: pathState.progress,
@@ -774,6 +776,7 @@ function cloneResolvedActorPathToNpcPathState(
progressMode: pathState.progressMode,
speed: pathState.speed,
loop: pathState.loop,
smoothPath: pathState.smoothPath,
elapsedHours: pathState.elapsedHours,
distance: pathState.distance,
progress: pathState.progress,