fix inventory

This commit is contained in:
Vlad committed 2026-04-15 14:50:46 +06:00
1 parent f7e6f063d1
commit 44dd09fcb5
3 files changed
+22 -9

No files matched your search

+5
View File
@@ -613,6 +613,11 @@ namespace ZL
std::cout << "\n========== MOUSE DOWN EVENT ==========" << std::endl;
handleDown(ZL::UiManager::MOUSE_FINGER_ID, mx, my);
if (menuManager.uiManager.isUiInteractionForFinger(ZL::UiManager::MOUSE_FINGER_ID)) {
std::cout << "[CLICK] UI handled, skipping character movement" << std::endl;
continue;
}
// Calculate ray for picking
if (dialogueSystem.blocksGameplayInput()) {
dialogueSystem.handlePointerReleased(static_cast<float>(mx), Environment::projectionHeight - static_cast<float>(my));