Skip to content

Commit

Permalink
Engine: fix warning formatting in move_character_straight()
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan-mogilko committed Feb 12, 2025
1 parent 590f8e5 commit 0cca977
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Engine/ac/character.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2270,7 +2270,7 @@ void move_character_straight(CharacterInfo *chaa, int x, int y, bool walk_anim)
if (!pathfind->IsWalkableAt(chaa->x, chaa->y))
{
Character_StopMoving(chaa);
debug_script_log("MoveCharacterStraight: %s (%d,%d) is not on a walkable area, not moving", chaa->scrname, chaa->x, chaa->y);
debug_script_log("MoveCharacterStraight: %s (%d,%d) is not on a walkable area, not moving", chaa->scrname.GetCStr(), chaa->x, chaa->y);
return;
}

Expand Down

0 comments on commit 0cca977

Please sign in to comment.