2
0
Эх сурвалжийг харах

Put artifact in different slot if selected is used

This one fixes issue 2002.
ArseniyShestakov 10 жил өмнө
parent
commit
6ab807f694

+ 1 - 1
client/windows/CTradeWindow.cpp

@@ -1475,7 +1475,7 @@ bool CAltarWindow::putOnAltar(CTradeableItem* altarSlot, const CArtifactInstance
 		return false;
 	}
 
-	if(!altarSlot)
+	if(!altarSlot || altarSlot->id != -1)
 	{
 		int slotIndex = firstFreeSlot();
 		if(slotIndex < 0)