diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2022-04-23 18:04:38 +0200 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2022-05-14 18:33:42 +0200 |
commit | 0d0f1a2fb25fbfef8e0a1d42028257736fd80146 (patch) | |
tree | 6b35de8a64a0d106e9c18b6d83f00ceab16caa96 /src/mapgen/mapgen.h | |
parent | 439701ed7a55fe5ddfe996c8f397e88d54af2b36 (diff) | |
download | minetest-0d0f1a2fb25fbfef8e0a1d42028257736fd80146.tar.gz minetest-0d0f1a2fb25fbfef8e0a1d42028257736fd80146.tar.bz2 minetest-0d0f1a2fb25fbfef8e0a1d42028257736fd80146.zip |
Fix some textures not being sent correctly to older clients
Since b2eb44afc50976dc0954c868977b5829f3ff8a19, a texture defined as
`[combine:16x512:0,0=some_file.png;etc`
will not be sent correctly from a 5.5 server to a 5.4 client due to the
overeager detection of unsupported base modifier `[` introducing a
spurious `blank.png^` before the modifier.
Fix this by whitelisting which base modifiers can be passed through
unchanged to the client, and prefix `blank.png` for the others
(which at the moment is just [png:, but the list may grow larger
as new base modifiers are added.)
Diffstat (limited to 'src/mapgen/mapgen.h')
0 files changed, 0 insertions, 0 deletions