1
This commit is contained in:
commit
1da90c7fdc
@ -497,7 +497,7 @@ void Obstacle::SetRotate(float rotate)
|
|||||||
|
|
||||||
void Obstacle::DoTreasureBoxInteraction(Human* sender)
|
void Obstacle::DoTreasureBoxInteraction(Human* sender)
|
||||||
{
|
{
|
||||||
if (!IsDead(sender->room)) {
|
if (!IsDead(sender->room) && sender->GetHeroQuality() > 1) {
|
||||||
++sender->box_num;
|
++sender->box_num;
|
||||||
sender->room->frame_event.AddPropChg
|
sender->room->frame_event.AddPropChg
|
||||||
(
|
(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user