mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2025-10-01 04:00:05 +00:00
Only loop NPC movement if the NPC has a looping path assigned
Allows paths to terminate. Also fixes a bug where follower NPCs sometimes oscillate their positions.
This commit is contained in:
@@ -33,6 +33,7 @@ struct NPCPath {
|
||||
int speed;
|
||||
int escortTaskID;
|
||||
bool isRelative;
|
||||
bool isLoop;
|
||||
};
|
||||
|
||||
namespace Transport {
|
||||
|
Reference in New Issue
Block a user