mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-10-02 19:03:43 +00:00
The client reads a terrain chunk of a file older than version 32 (1.10.64): - its color map as width x width BGRA pixels, keeping the (width - 1) x (width - 1) before the last row and column, as RGBA (RAWReadColorandLightMaps); the reader kept all the pixels as written; - its texture blend map's pixels as BGRA, kept as RGBA (0x0103aaf0); - before version 31 no scene map, only a byte: the client's scene map is all scene 0 (RAWReadSceneMap); the reader had none. A chunk of width or height 0, which the client reads (no heights, no color map), no longer fails the whole file. Live terrain files are version 32, so they read as before. Check in game: nothing to check (no live terrain changes). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>