summaryrefslogtreecommitdiff
path: root/src/resources/horseinfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/horseinfo.h')
-rw-r--r--src/resources/horseinfo.h18
1 files changed, 12 insertions, 6 deletions
diff --git a/src/resources/horseinfo.h b/src/resources/horseinfo.h
index 262ecb7e7..860700124 100644
--- a/src/resources/horseinfo.h
+++ b/src/resources/horseinfo.h
@@ -29,16 +29,22 @@ class AnimatedSprite;
struct HorseInfo final
{
HorseInfo() :
- sprite(nullptr),
- offsetX(0),
- offsetY(0)
+ downSprite(nullptr),
+ upSprite(nullptr),
+ downOffsetX(0),
+ downOffsetY(0),
+ upOffsetX(0),
+ upOffsetY(0)
{ }
A_DELETE_COPY(HorseInfo)
- AnimatedSprite *sprite;
- int offsetX;
- int offsetY;
+ AnimatedSprite *downSprite;
+ AnimatedSprite *upSprite;
+ int downOffsetX;
+ int downOffsetY;
+ int upOffsetX;
+ int upOffsetY;
};
#endif // RESOURCES_HORSEINFO_H