mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-26 17:51:16 +00:00
Fix cond
This commit is contained in:
parent
6188c7e94c
commit
1825ce3f26
@ -657,7 +657,7 @@ LegoU32 LegoAnimNodeData::FindKeys(
|
|||||||
numKeys = 1;
|
numKeys = 1;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
if (!(GetKey(p_old_index, p_keys, p_size).GetTime() > p_time)) {
|
if (GetKey(p_old_index, p_keys, p_size).GetTime() <= p_time) {
|
||||||
for (p_new_index = p_old_index;
|
for (p_new_index = p_old_index;
|
||||||
p_new_index < p_numKeys - 1 && p_time >= GetKey(p_new_index + 1, p_keys, p_size).GetTime();
|
p_new_index < p_numKeys - 1 && p_time >= GetKey(p_new_index + 1, p_keys, p_size).GetTime();
|
||||||
p_new_index++)
|
p_new_index++)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user