MantisBT - VCMI
View Issue Details
0002327VCMIMechanics - Objectspublic2015-11-13 21:442016-02-21 23:15
SXX 
SXX 
normalminoralways
assignedopen 
0.98e 
 
0002327: Town always have garrison even if on map it's set otherwise
So if you check "Customize" and then make sure there is no guards VCMI still init town with some creature guarding it.
Use my v3 testing map:
http://forum.vcmi.eu/viewtopic.php?t=1108 [^]
All towns right next to hero should have zero guards (all set to no garrison in H3 map editor)
No tags attached.
Issue History
2015-11-13 21:44SXXNew Issue
2015-11-30 23:37SXXNote Added: 0006138
2015-11-30 23:38SXXNote Edited: 0006138bug_revision_view_page.php?bugnote_id=6138#r3051
2016-02-21 23:15SXXAssigned To => SXX
2016-02-21 23:15SXXStatusnew => assigned

Notes
(0006138)
SXX   
2015-11-30 23:37   
(edited on: 2015-11-30 23:38)
Notes about H3 behaviour.

If town has custom garrison set with empty garrison then on beginning of first week it's shouldn't be guarded at all. Though on second week it's may get some guards already.

Currently handled by CGTownInstance::newTurn, but I not yet sure how to pass information about empty custom garrison from map format reader into there.