1
Fork 0
mirror of https://github.com/redstrate/Physis.git synced 2025-04-23 13:17:44 +00:00

Remove for loop in writing MDL indices

This commit is contained in:
Joshua Goins 2023-11-24 08:29:32 -05:00
parent 7b162f6644
commit e23383f439

View file

@ -728,9 +728,7 @@ impl MDL {
))
.ok()?;
for indice in &part.indices {
cursor.write_le::<u16>(indice).ok()?;
}
cursor.write_le(&part.indices).ok()?;
}
}
}