Skip to content

Commit

Permalink
Fix crash on missing hit animations in SOC (#392)
Browse files Browse the repository at this point in the history
  • Loading branch information
Xottab-DUTY committed Apr 14, 2023
1 parent fa0769d commit 3243bda
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/xrGame/character_hit_animations.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@ IC void set_blend_params(CBlend* B)

IC void play_cycle(IKinematicsAnimated* CA, const MotionID& m, u8 channel, CBlend*& blend_block, float base_power)
{
if (!m.valid())
return;

const BOOL mixin = TRUE;
float power = base_power;
if (blend_block && blend_block->blend_state() != CBlend::eFREE_SLOT)
Expand Down

0 comments on commit 3243bda

Please sign in to comment.