diff --git a/src/ship/map.rs b/src/ship/map.rs index bdbb3fd..62d7215 100644 --- a/src/ship/map.rs +++ b/src/ship/map.rs @@ -25,11 +25,11 @@ struct RawMapEnemy { xrot: u32, yrot: u32, zrot: u32, - _field1: f32, - _field2: f32, - _field3: f32, - _field4: f32, - _field5: f32, + _field1: u32, + field2: u32, + _field3: u32, + _field4: u32, + _field5: u32, skin: u32, _field6: u32 } @@ -51,11 +51,11 @@ impl RawMapEnemy { xrot: cursor.read_u32::()?, yrot: cursor.read_u32::()?, zrot: cursor.read_u32::()?, - _field1: cursor.read_f32::()?, - _field2: cursor.read_f32::()?, - _field3: cursor.read_f32::()?, - _field4: cursor.read_f32::()?, - _field5: cursor.read_f32::()?, + _field1: cursor.read_u32::()?, + field2: cursor.read_u32::()?, + _field3: cursor.read_u32::()?, + _field4: cursor.read_u32::()?, + _field5: cursor.read_u32::()?, skin: cursor.read_u32::()?, _field6: cursor.read_u32::()?, })