aboutsummaryrefslogtreecommitdiff
path: root/engines/sword25/gfx/animationdescription.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sword25/gfx/animationdescription.cpp')
-rw-r--r--engines/sword25/gfx/animationdescription.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/engines/sword25/gfx/animationdescription.cpp b/engines/sword25/gfx/animationdescription.cpp
index 405a5c2938..f8ed9b893c 100644
--- a/engines/sword25/gfx/animationdescription.cpp
+++ b/engines/sword25/gfx/animationdescription.cpp
@@ -23,7 +23,7 @@
*
*/
-/*
+/*
* This code is based on Broken Sword 2.5 engine
*
* Copyright (c) Malte Thiesen, Daniel Queteschiner and Michael Elsdoerfer
@@ -46,8 +46,7 @@ namespace Sword25 {
// Persistenz
// -----------------------------------------------------------------------------
-bool BS_AnimationDescription::Persist(BS_OutputPersistenceBlock & Writer)
-{
+bool BS_AnimationDescription::Persist(BS_OutputPersistenceBlock &Writer) {
Writer.Write(static_cast<unsigned int>(m_AnimationType));
Writer.Write(m_FPS);
Writer.Write(m_MillisPerFrame);
@@ -60,8 +59,7 @@ bool BS_AnimationDescription::Persist(BS_OutputPersistenceBlock & Writer)
// -----------------------------------------------------------------------------
-bool BS_AnimationDescription::Unpersist(BS_InputPersistenceBlock & Reader)
-{
+bool BS_AnimationDescription::Unpersist(BS_InputPersistenceBlock &Reader) {
unsigned int AnimationType;
Reader.Read(AnimationType);
m_AnimationType = static_cast<BS_Animation::ANIMATION_TYPES>(AnimationType);