Skip to content

Commit

Permalink
xrGame/stalker_animation_manager_update.cpp: fixed wrong printf argum…
Browse files Browse the repository at this point in the history
…ent (#654)

Wrong argument leads to a crash at least on VC++ CRT. The bug was
introduced in 78cfe2a.
  • Loading branch information
Xottab-DUTY committed Aug 6, 2020
1 parent f2b3189 commit 1579d1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xrGame/stalker_animation_manager_update.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ void CStalkerAnimationManager::update()
}
catch (...)
{
Msg("! error in stalker with visual %s and ID %s", *object().cNameVisual(), object().ID());
Msg("! error in stalker with visual %s and ID %u", *object().cNameVisual(), object().ID());
head().reset();
torso().reset();
legs().reset();
Expand Down

0 comments on commit 1579d1f

Please sign in to comment.