snf: bot: version const

This commit is contained in:
Quaternions 2025-01-20 10:36:54 -08:00
parent eaecbc5b73
commit 8e228033e0

View File

@ -4,6 +4,8 @@ use crate::newtypes;
use crate::file::BlockId;
use strafesnet_common::physics::Time;
const VERSION:u32=0;
type TimedPhysicsInstruction=strafesnet_common::instruction::TimedInstruction<strafesnet_common::physics::Instruction,strafesnet_common::physics::TimeInner>;
#[derive(Debug)]
@ -309,7 +311,7 @@ pub fn write_bot<W:BinWriterExt>(mut writer:W,physics_version:u32,instructions:i
let file_header=crate::file::Header{
fourcc:crate::file::FourCC::Bot,
version:0,
version:VERSION,
priming,
resource:0,
block_count,