Skip to content

Commit 1f9c0ff

Browse files
committed
xrCore/Animation/Envelope: Fixed "Behaviors" read.
1 parent a6f34da commit 1f9c0ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/xrCore/Animation/Envelope.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ void CEnvelope::LoadA(IReader& F)
239239
}
240240
// behavior <pre> <post>
241241
F.r_string(buf, sizeof(buf));
242-
int cnt = sscanf(buf, "Behaviors %d %d", behavior[0], behavior[1]);
242+
int cnt = sscanf(buf, "Behaviors %d %d", &behavior[0], &behavior[1]);
243243
R_ASSERT(cnt == 2);
244244
}
245245
}

0 commit comments

Comments
 (0)