Skip to content

Commit

Permalink
Fix Path To actor_anims.ltx
Browse files Browse the repository at this point in the history
  • Loading branch information
DimaKuzmin committed Nov 2, 2023
1 parent deac633 commit 387d00b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/xrGame/ActorAnimation_Scripts.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ bool CActor::MpAnimationMODE() const
void SActorStateAnimation::CreateAnimationsScripted(IKinematicsAnimated* K)
{
string_path filepath;
FS.update_path(filepath, "$game_config$", "actor_anims.ltx");
FS.update_path(filepath, "$game_config$", "alife\\actor_anims.ltx");

This comment has been minimized.

Copy link
@Maxivanov2002

Maxivanov2002 Nov 2, 2023

А куда его пихать? создавать папку "alife\". Если удалить предписку alife\ то анимки работают, а с этой предпиской - не работают

CInifile* file = xr_new<CInifile>(filepath, true, true);

if (file && file->section_exist("animations"))
Expand Down Expand Up @@ -282,9 +282,9 @@ void CActor::SelectScriptAnimation()
if (!CanChange)
return;

//Msg("In [%d] [%s]", InputAnim, InPlay ? "true" : "false");
//Msg("Mid [%d] [%s]", MidAnim, MidPlay ? "true" : "false");
//Msg("Out [%d] [%s]", OutAnim, OutPlay ? "true" : "false");
Msg("In [%d] [%s]", InputAnim, InPlay ? "true" : "false");
Msg("Mid [%d] [%s]", MidAnim, MidPlay ? "true" : "false");
Msg("Out [%d] [%s]", OutAnim, OutPlay ? "true" : "false");

if (oldAnim != ANIM_SELECTED)
{
Expand Down

0 comments on commit 387d00b

Please sign in to comment.