added hud.is_player_inventory_open

This commit is contained in:
Xertis 2026-02-28 22:34:52 +03:00
parent cb1b113181
commit 9ad21460a2
4 changed files with 14 additions and 0 deletions

View file

@ -688,6 +688,10 @@ bool Hud::isInventoryOpen() const {
return inventoryOpen;
}
bool Hud::isPlayerInventoryOpen() const {
return inventoryView != nullptr;
}
bool Hud::isPause() const {
return pause;
}