0-byte model files crash map loading on x86-64

In #next-update, Evgeny Akabenko reported a crash on map load after the x86-64 update (CUtlBuffer::PeekGet invalid offset 0), caused by an addon with 0-byte model files left by a download that ran out of disk space.

Updates

  • : Commit 038c27 on main: "Handle 0 byte model files crashing the game".
  • : pruf reported an error loading a map with a 0-byte .lmp file on dev.
  • : Commit 5bca5b on main reworks empty model file handling to be less error prone; commit 7e5aa8 brings both 0-byte model fixes to x86-64.
3 updates