1
0
Fork 0
mirror of https://codeberg.org/demostf/parser.git synced 2026-06-04 02:24:12 +02:00

shove changes_often into the enum

This commit is contained in:
Robin Appelman 2021-02-13 16:49:04 +01:00
commit a3fc003437
2 changed files with 35 additions and 6 deletions

View file

@ -129,7 +129,7 @@ impl ParseSendTable {
// sort often changed props before the others
let mut start = 0;
for i in 0..flat.len() {
if flat[i].changes_often {
if flat[i].parse_definition.changes_often() {
if i != start {
flat.swap(i, start);
}