- [FIX] pillar objectes es deu fer amb keypress

This commit is contained in:
2024-07-11 10:46:48 +02:00
parent c9f41c9635
commit ebf3d11e70

View File

@@ -540,7 +540,7 @@ namespace actor
act->push |= PUSH_YP; act->push |= PUSH_YP;
} }
} }
if ((input::keyPressed(SDL_SCANCODE_RETURN) || input::keyDown(config::getKey(KEY_PICK)) ) && (hero::getSkills()&SKILL_PANTS)) if ((input::keyPressed(SDL_SCANCODE_RETURN) || input::keyPressed(config::getKey(KEY_PICK)) ) && (hero::getSkills()&SKILL_PANTS))
{ {
if (picked) if (picked)
{ {