diff options
Diffstat (limited to 'src/tileanimation.cpp')
-rw-r--r-- | src/tileanimation.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tileanimation.cpp b/src/tileanimation.cpp index 930fd9473..a79a36e57 100644 --- a/src/tileanimation.cpp +++ b/src/tileanimation.cpp @@ -19,7 +19,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "tileanimation.h" #include "util/serialize.h" -void TileAnimationParams::serialize(std::ostream &os, u8 tiledef_version) const +void TileAnimationParams::serialize(std::ostream &os, u16 protocol_version) const { writeU8(os, type); if (type == TAT_VERTICAL_FRAMES) { @@ -33,7 +33,7 @@ void TileAnimationParams::serialize(std::ostream &os, u8 tiledef_version) const } } -void TileAnimationParams::deSerialize(std::istream &is, u8 tiledef_version) +void TileAnimationParams::deSerialize(std::istream &is, u16 protocol_version) { type = (TileAnimationType) readU8(is); |