Skip to content

Commit

Permalink
rm debug stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
LaihoE committed Jan 18, 2024
1 parent 7045e4c commit 01d67a8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/parser/src/entities.rs
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ impl<'a> ParserThread<'a> {
if let Some(baseline_bytes) = self.baselines.get(&cls_id) {
let b = &baseline_bytes.clone();
let mut br = Bitreader::new(&b);
// self.update_entity(&mut br, *entity_id, true)?;
self.update_entity(&mut br, *entity_id, true)?;
}
Ok(())
}
Expand Down
2 changes: 1 addition & 1 deletion src/parser/src/game_events.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ impl<'a> ParserThread<'a> {
return Ok(None);
}
};
// self.game_events_counter.insert(event_desc.name.as_ref().unwrap().clone());
self.game_events_counter.insert(event_desc.name.as_ref().unwrap().clone());

// Return early if this is not a wanted event.
if !self.wanted_events.contains(&event_desc.name().to_string()) && self.wanted_events.first() != Some(&"all".to_string())
Expand Down
2 changes: 1 addition & 1 deletion src/parser/src/parser_threads.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ impl<'a> ParserThread<'a> {

let size = read_varint(outer_bytes, &mut self.ptr)?;
self.tick = tick as i32;
println!("{:?}", tick);

// Safety check
if self.ptr + size as usize >= outer_bytes.len() {
break;
Expand Down

0 comments on commit 01d67a8

Please sign in to comment.