1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-29 23:07:48 +02:00

CPlayerInterface: don't stop hero movement on embark / disembark

When hero have free boarding bonus there no reason to stop movement.
This commit is contained in:
Arseniy Shestakov
2017-09-16 10:42:27 +03:00
parent 1162923d93
commit ae13123129
3 changed files with 8 additions and 1 deletions

View File

@@ -634,6 +634,8 @@ struct TryMoveHero : public CPackForClient
bool humanKnows; //used locally during applying to client
bool stopMovement() const;
template <typename Handler> void serialize(Handler &h, const int version)
{
h & id;