Browse Source

Put artifact in different slot if selected is used

This one fixes issue 2002.
ArseniyShestakov 10 years ago
parent
commit
6ab807f694
1 changed files with 1 additions and 1 deletions
  1. 1 1
      client/windows/CTradeWindow.cpp

+ 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)