mirror of
				https://github.com/TES3MP/openmw-tes3mp.git
				synced 2025-10-31 20:26:48 +00:00 
			
		
		
		
	remove debug prints
This commit is contained in:
		
							parent
							
								
									3f4ce32727
								
							
						
					
					
						commit
						5a43fe3e5f
					
				
					 2 changed files with 0 additions and 11 deletions
				
			
		|  | @ -235,7 +235,6 @@ void ContainerBase::drawItems() | |||
|         int displayCount = iter->getRefData().getCount(); | ||||
|         if (mDragAndDrop->mIsOnDragAndDrop && *iter == *mDragAndDrop->mDraggedWidget->getUserData<MWWorld::Ptr>()) | ||||
|         { | ||||
|             std::cout << "beep" << std::endl; | ||||
|             displayCount -= mDragAndDrop->mDraggedCount; | ||||
| } | ||||
|         if(displayCount > 0 && !(onlyMagic && MWWorld::Class::get(*iter).getEnchantment(*iter) == "" && iter->getTypeName() != typeid(ESM::Potion).name())) | ||||
|  |  | |||
|  | @ -154,8 +154,6 @@ namespace MWGui | |||
|                 // can't be equipped, try to use instead
 | ||||
|                 boost::shared_ptr<MWWorld::Action> action = MWWorld::Class::get(ptr).use(ptr); | ||||
| 
 | ||||
|                 std::cout << "Item can't be equipped" << std::endl; | ||||
| 
 | ||||
|                 action->execute(); | ||||
| 
 | ||||
|                 /// \todo scripts
 | ||||
|  | @ -188,8 +186,6 @@ namespace MWGui | |||
| 
 | ||||
|                 // equip the item in the first available slot
 | ||||
|                 invStore.equip(slots.first.front(), it); | ||||
| 
 | ||||
|                 std::cout << "Equipped item in slot " << slots.first.front() << std::endl; | ||||
|             } | ||||
| 
 | ||||
|             mDragAndDrop->mIsOnDragAndDrop = false; | ||||
|  | @ -212,14 +208,8 @@ namespace MWGui | |||
|             MWWorld::ContainerStoreIterator it = invStore.getSlot(slot); | ||||
|             if (it != invStore.end()) | ||||
|             { | ||||
|                 std::cout << "slot " << slot << " is equipped" << std::endl; | ||||
|                 items.push_back(*it); | ||||
|             } | ||||
|             else | ||||
|             { | ||||
|                 std::cout << "slot " << slot << " is empty " << std::endl; | ||||
|             } | ||||
|              | ||||
|         } | ||||
| 
 | ||||
|         return items; | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue