@@ -587,7 +587,7 @@ void Inventory::mouseClick(Action *action, State *state)
587587 {
588588 placed = true ;
589589 moveItem (item, newSlot, 0 , 0 );
590- _game->getResourcePack ()->getSound (" BATTLE.CAT" , 38 )->play ();
590+ _game->getResourcePack ()->getSound (" BATTLE.CAT" , ResourcePack:: ITEM_DROP )->play ();
591591 arrangeGround (false );
592592 }
593593 else
@@ -641,7 +641,7 @@ void Inventory::mouseClick(Action *action, State *state)
641641 _stackLevel[x][y] += 1 ;
642642 }
643643 setSelectedItem (0 );
644- _game->getResourcePack ()->getSound (" BATTLE.CAT" , 38 )->play ();
644+ _game->getResourcePack ()->getSound (" BATTLE.CAT" , ResourcePack:: ITEM_DROP )->play ();
645645 }
646646 else
647647 {
@@ -655,7 +655,7 @@ void Inventory::mouseClick(Action *action, State *state)
655655 moveItem (_selItem, slot, item->getSlotX (), item->getSlotY ());
656656 _stackLevel[item->getSlotX ()][item->getSlotY ()] += 1 ;
657657 setSelectedItem (0 );
658- _game->getResourcePack ()->getSound (" BATTLE.CAT" , 38 )->play ();
658+ _game->getResourcePack ()->getSound (" BATTLE.CAT" , ResourcePack:: ITEM_DROP )->play ();
659659 }
660660 else
661661 {
@@ -691,7 +691,7 @@ void Inventory::mouseClick(Action *action, State *state)
691691 item->setAmmoItem (_selItem);
692692 _selItem->moveToOwner (0 );
693693 setSelectedItem (0 );
694- _game->getResourcePack ()->getSound (" BATTLE.CAT" , 17 )->play ();
694+ _game->getResourcePack ()->getSound (" BATTLE.CAT" , ResourcePack:: ITEM_RELOAD )->play ();
695695 if (item->getSlot ()->getType () == INV_GROUND )
696696 {
697697 arrangeGround (false );
@@ -722,7 +722,7 @@ void Inventory::mouseClick(Action *action, State *state)
722722 moveItem (_selItem, slot, item->getSlotX (), item->getSlotY ());
723723 _stackLevel[item->getSlotX ()][item->getSlotY ()] += 1 ;
724724 setSelectedItem (0 );
725- _game->getResourcePack ()->getSound (" BATTLE.CAT" , 38 )->play ();
725+ _game->getResourcePack ()->getSound (" BATTLE.CAT" , ResourcePack:: ITEM_DROP )->play ();
726726 }
727727 else
728728 {
@@ -960,7 +960,7 @@ bool Inventory::fitItem(RuleInventory *newSlot, BattleItem *item, std::string &w
960960 {
961961 placed = true ;
962962 moveItem (item, newSlot, x2, y2);
963- _game->getResourcePack ()->getSound (" BATTLE.CAT" , 38 )->play ();
963+ _game->getResourcePack ()->getSound (" BATTLE.CAT" , ResourcePack:: ITEM_DROP )->play ();
964964 drawItems ();
965965 }
966966 else
0 commit comments