diff options
author | sfan5 <sfan5@live.de> | 2022-09-04 16:22:12 +0200 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2022-09-14 13:48:06 +0200 |
commit | a20b758e199eb48da7d99ba23808e15d987f2d3f (patch) | |
tree | d1690caff18c3885b67afe33f28bf12b0fbaaa94 /src/tileanimation.h | |
parent | 128842becf4d93ef333c317b6f999af8c90afe96 (diff) | |
download | minetest-a20b758e199eb48da7d99ba23808e15d987f2d3f.tar.gz minetest-a20b758e199eb48da7d99ba23808e15d987f2d3f.tar.bz2 minetest-a20b758e199eb48da7d99ba23808e15d987f2d3f.zip |
Allow looped animation to be used safely with old clients
fixes #12657
Diffstat (limited to 'src/tileanimation.h')
-rw-r--r-- | src/tileanimation.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tileanimation.h b/src/tileanimation.h index 0449de0b8..45b91655e 100644 --- a/src/tileanimation.h +++ b/src/tileanimation.h @@ -50,8 +50,8 @@ struct TileAnimationParams } sheet_2d; }; - void serialize(std::ostream &os, u16 protocol_version) const; - void deSerialize(std::istream &is, u16 protocol_version); + void serialize(std::ostream &os, u16 protocol_ver) const; + void deSerialize(std::istream &is, u16 protocol_ver); void determineParams(v2u32 texture_size, int *frame_count, int *frame_length_ms, v2u32 *frame_size) const; void getTextureModifer(std::ostream &os, v2u32 texture_size, int frame) const; |