Skip to content

Commit

Permalink
xrCore/Animation/Envelope: Fixed "Behaviors" read.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaffeine committed Nov 25, 2015
1 parent a6f34da commit 1f9c0ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xrCore/Animation/Envelope.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ void CEnvelope::LoadA(IReader& F)
}
// behavior <pre> <post>
F.r_string(buf, sizeof(buf));
int cnt = sscanf(buf, "Behaviors %d %d", behavior[0], behavior[1]);
int cnt = sscanf(buf, "Behaviors %d %d", &behavior[0], &behavior[1]);
R_ASSERT(cnt == 2);
}
}
Expand Down

0 comments on commit 1f9c0ff

Please sign in to comment.