Permissions Fix
Fixed up the public permissions for WADFile struct. It no longer needs to restrict to the super module anymore as the architecture has changed to be more accomodating. Also removed pub access from the lump_directory as this will be accessed through the implementation functions.
This commit is contained in:
@@ -7,11 +7,11 @@ use std::{
|
|||||||
};
|
};
|
||||||
|
|
||||||
pub struct WADFile {
|
pub struct WADFile {
|
||||||
pub(super) wad_path: String,
|
pub wad_path: String,
|
||||||
pub(super) identifier: String,
|
pub identifier: String,
|
||||||
pub(super) num_lumps: u32,
|
pub num_lumps: u32,
|
||||||
pub(super) init_offset: u32,
|
pub init_offset: u32,
|
||||||
pub(super) lump_directory: Vec<Directory>,
|
lump_directory: Vec<Directory>,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl WADFile {
|
impl WADFile {
|
||||||
|
|||||||
Reference in New Issue
Block a user