aboutsummaryrefslogtreecommitdiff
path: root/gob/anim.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gob/anim.cpp')
-rw-r--r--gob/anim.cpp12
1 files changed, 7 insertions, 5 deletions
diff --git a/gob/anim.cpp b/gob/anim.cpp
index 7524ca91f8..3d3fd4ab74 100644
--- a/gob/anim.cpp
+++ b/gob/anim.cpp
@@ -25,10 +25,12 @@
namespace Gob {
-int16 anim_animAreaLeft;
-int16 anim_animAreaTop;
-int16 anim_animAreaWidth;
-int16 anim_animAreaHeight;
-SurfaceDesc *anim_underAnimSurf = 0;
+Anim::Anim() {
+ _areaLeft = 0;
+ _areaTop = 0;
+ _areaWidth = 0;
+ _areaHeight = 0;
+ _animSurf = 0;
+}
} // End of namespace Gob