mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-04-28 13:17:58 +03:00
down when on horse
This commit is contained in:
parent
3f7aa079e0
commit
351e8e88aa
1 changed files with 6 additions and 0 deletions
|
@ -1170,6 +1170,12 @@ void RegisterOnSetDoAction() {
|
|||
case DO_ACTION_GRAB:
|
||||
text = language == LANGUAGE_FRA ? "action" : language == LANGUAGE_GER ? "aktion" : "grab";
|
||||
break;
|
||||
case DO_ACTION_DOWN: {
|
||||
Player* player = GET_PLAYER(gPlayState);
|
||||
if (player == NULL || !(player->stateFlags1 & PLAYER_STATE1_ON_HORSE))
|
||||
return;
|
||||
text = language == LANGUAGE_FRA ? "descendre" : language == LANGUAGE_GER ? "herab" : "down";
|
||||
} break;
|
||||
default:
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue