From 8e228033e01fe4c75691eb3cc4b02ca3f03fa7c5 Mon Sep 17 00:00:00 2001 From: Quaternions Date: Mon, 20 Jan 2025 10:36:54 -0800 Subject: [PATCH] snf: bot: version const --- lib/snf/src/bot.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/snf/src/bot.rs b/lib/snf/src/bot.rs index 77936aa..a295fb5 100644 --- a/lib/snf/src/bot.rs +++ b/lib/snf/src/bot.rs @@ -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; #[derive(Debug)] @@ -309,7 +311,7 @@ pub fn write_bot(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,