mirror of
https://codeberg.org/icewind/vbsp.git
synced 2026-06-03 10:44:07 +02:00
move entities to game folder behind feature flag
This commit is contained in:
parent
63e36fb1f8
commit
fe1b32b44a
5 changed files with 668 additions and 666 deletions
|
|
@ -7,7 +7,7 @@ fn main() -> Result<(), vbsp::BspError> {
|
|||
let data = std::fs::read(args.next().expect("No demo file provided"))?;
|
||||
let bsp = vbsp::Bsp::read(&data)?;
|
||||
for prop in bsp.entities.iter() {
|
||||
match prop.parse::<vbsp::Entity>() {
|
||||
match prop.parse::<vbsp::basic::Entity>() {
|
||||
Ok(prop) => {
|
||||
println!("{:#?}", prop)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue