Skip to content

Commit b873c45

Browse files
committed
search animations based on relative path instead of absolute path.
1 parent 544dc4d commit b873c45

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/ModVerify/Verifiers/Commons/SingleModelVerifier.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,8 +208,9 @@ private void VerifyModelClass(ModelClass modelClass, IReadOnlyCollection<string>
208208

209209
var animationCollection = AnimationCollection.Empty;
210210
if (alamoFile.Content is AlamoModel)
211-
{
212-
animationCollection = GameEngine.PGRender.LoadAnimations(alamoFile.FileName, alamoFile.Directory, true,
211+
{
212+
animationCollection = GameEngine.PGRender.LoadAnimations(
213+
alamoFile.FileName, @"DATA\ART\MODELS", true,
213214
(_, _, alaFile) =>
214215
{
215216
var alaFileName = NormalizeFileName(alaFile);

0 commit comments

Comments
 (0)