Remove save-only autolength flag from economy chunk handlers
CH_AUTO_LENGTH is only used when saving chunks; it makes no sense to set it for chunks without a save handler. (cherry picked from commit 8b2fe11d8491fb5f3b9bd7dd5344a0956817e41c)
This commit is contained in:

committed by
Jonathan G Rennison

parent
e6122f5ce4
commit
ec157b4a66
@@ -102,7 +102,7 @@ static void Ptrs_CAPY()
|
||||
|
||||
extern const ChunkHandler _economy_chunk_handlers[] = {
|
||||
{ 'CAPY', Save_CAPY, Load_CAPY, Ptrs_CAPY, NULL, CH_ARRAY},
|
||||
{ 'PRIC', NULL, Load_PRIC, NULL, NULL, CH_RIFF | CH_AUTO_LENGTH},
|
||||
{ 'CAPR', NULL, Load_CAPR, NULL, NULL, CH_RIFF | CH_AUTO_LENGTH},
|
||||
{ 'PRIC', NULL, Load_PRIC, NULL, NULL, CH_RIFF },
|
||||
{ 'CAPR', NULL, Load_CAPR, NULL, NULL, CH_RIFF },
|
||||
{ 'ECMY', Save_ECMY, Load_ECMY, NULL, NULL, CH_RIFF | CH_LAST},
|
||||
};
|
||||
|
Reference in New Issue
Block a user