mirror of
				https://github.com/vcmi/vcmi.git
				synced 2025-10-31 00:07:39 +02:00 
			
		
		
		
	Fix slot positioning
This commit is contained in:
		| @@ -526,7 +526,7 @@ void CGarrisonInt::createSlots() | ||||
| 		for(int j = 0; j < 7; j++) | ||||
| 		{ | ||||
| 			if(!garrisonSlots[j]) | ||||
| 				garrisonSlots[j] = std::make_shared<CGarrisonSlot>(this, offset.x + (j*distance), offset.x, SlotID(j), i, nullptr); | ||||
| 				garrisonSlots[j] = std::make_shared<CGarrisonSlot>(this, offset.x + (j*distance), offset.y, SlotID(j), i, nullptr); | ||||
|  | ||||
| 			if(layout == ESlotsLayout::TWO_ROWS && j >= 4) | ||||
| 			{ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user