Skip to content

Commit

Permalink
Engine: fixed Character_GetDestinationY()
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan-mogilko committed May 3, 2019
1 parent f74edb1 commit 232e588
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Engine/ac/character.cpp
Expand Up @@ -1399,7 +1399,7 @@ int Character_GetDestinationX(CharacterInfo *chaa) {
int Character_GetDestinationY(CharacterInfo *chaa) {
if (chaa->walking) {
MoveList *cmls = &mls[chaa->walking % TURNING_AROUND];
return cmls->pos[cmls->numstage - 1] & 0x00ff;
return cmls->pos[cmls->numstage - 1] & 0xFFFF;
}
else
return chaa->y;
Expand Down

0 comments on commit 232e588

Please sign in to comment.