summaryrefslogtreecommitdiff
path: root/src/resources/horseinfo.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-08-06 17:56:54 +0300
committerAndrei Karas <akaras@inbox.ru>2016-08-06 18:04:42 +0300
commit23dcc6af6b06901088ceac938850e8fa8717e422 (patch)
treec87136cd1816a1340972464900511593fd5e5bec /src/resources/horseinfo.h
parent8b89f43575300bceaa7ce659117707f1cbc5eddd (diff)
downloadmanaplus-23dcc6af6b06901088ceac938850e8fa8717e422.tar.gz
manaplus-23dcc6af6b06901088ceac938850e8fa8717e422.tar.bz2
manaplus-23dcc6af6b06901088ceac938850e8fa8717e422.tar.xz
manaplus-23dcc6af6b06901088ceac938850e8fa8717e422.zip
Add support for player rider offset by x and y.
Diffstat (limited to 'src/resources/horseinfo.h')
-rw-r--r--src/resources/horseinfo.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/resources/horseinfo.h b/src/resources/horseinfo.h
index c9d75f808..4ff1dfb09 100644
--- a/src/resources/horseinfo.h
+++ b/src/resources/horseinfo.h
@@ -34,7 +34,9 @@ struct HorseInfo final
downOffsetX(0),
downOffsetY(0),
upOffsetX(0),
- upOffsetY(0)
+ upOffsetY(0),
+ riderOffsetX(0),
+ riderOffsetY(0)
{ }
A_DELETE_COPY(HorseInfo)
@@ -45,6 +47,8 @@ struct HorseInfo final
int downOffsetY;
int upOffsetX;
int upOffsetY;
+ int riderOffsetX;
+ int riderOffsetY;
};
#endif // RESOURCES_HORSEINFO_H