MantisBT - VCMI
View Issue Details
0002303VCMIMechanics - Objectspublic2015-10-15 18:372016-09-19 00:42
Povelitel 
SXX 
normalminoralways
resolvedfixed 
64WindowsXP sp2
0.98d 
0.99 
0002303: You can take the troops from the garrison with "Troops are removable" unchecked
If you have the troops of the same type, you can not put the same direction. You need to release additional slot for them.

Проще говоря нельзя архов положить в слот архов, надо дополнительный свободный стек, либо соединить их
No tags attached.
related to 0000899resolved SXX The "Make room..." window when a creature joins the army, does not allow us to move creatures in the same army 
related to 0002485new  CGarrisonWindow need improvement for CGGarrison with removableUnits = false 
png voyska.PNG (980,608) 2015-10-15 18:37
https://bugs.vcmi.eu/file_download.php?file_id=2360&type=bug
png
Issue History
2015-10-15 18:37PovelitelNew Issue
2015-10-15 18:37PovelitelFile Added: voyska.PNG
2015-11-10 16:26SXXAssigned To => SXX
2015-11-10 16:26SXXStatusnew => assigned
2015-11-14 04:05SXXNote Added: 0006088
2015-11-17 20:27SXXSummaryYou can not take the troops from the garrison => You can take the troops from the garrison with "Troops are removable" unchecked
2015-11-17 20:27SXXNote Added: 0006089
2015-11-17 20:38SXXCategoryMechanics - Other => Mechanics - Objects
2015-11-26 08:27SXXRelationship addedrelated to 0000899
2015-11-29 09:47SXXNote Added: 0006136
2016-01-08 11:10SXXNote Added: 0006260
2016-09-19 00:32SXXNote Added: 0006688
2016-09-19 00:32SXXStatusassigned => resolved
2016-09-19 00:32SXXFixed in Version => 0.99
2016-09-19 00:32SXXResolutionopen => fixed
2016-09-19 00:42SXXRelationship addedrelated to 0002485

Notes
(0006088)
SXX   
2015-11-14 04:05   
I'm not yet 100% sure, but looks like that can occur if garrison didn't actually allowed you to move stacks out of it. So probably real issue is that you can move units out of "locked" garrison at all.
(0006089)
SXX   
2015-11-17 20:27   
Confirmed. It's exactly what cause that behaviour.
(0006136)
SXX   
2015-11-29 09:47   
Important note: when creatures join hero on adventure map their ArmedInstance isn't marked as owned by hero (0000899). So while fixing this one we should apply some fix that going to make armed instance that joined our hero owned by player.
(0006260)
SXX   
2016-01-08 11:10   
BTW this one may require "VCAI::showGarrisonDialog" because I suppose AI don't take fact that garrison is locked into account.
(0006688)
SXX   
2016-09-19 00:32   
Fixed and AI change also applied:
https://github.com/vcmi/vcmi/commit/75cffa7d0b6460e78238269cd0c27e3bfdb3b57a [^]