MantisBT - VCMI
View Issue Details
0001992VCMIOtherpublic2014-12-14 15:512022-04-12 09:17
tooandorisu 
SXX 
normalminoralways
closedfixed 
Windows10
0.97 
0.98f 
0001992: Town entery
When enter ANY town I get this message:

const struct TerrainTile *__thiscall CGameInfoCallback::getTile(class int3,bool)
 const: -1 -1 -1 is not visible!
class std::vector<class CGObjectInstance const *,class std::allocator<class CGOb
jectInstance const *> > __thiscall CGameInfoCallback::getVisitableObjs(class int
3,bool) const: -1 -1 -1 is not visible!
No tags attached.
Issue History
2014-12-14 15:51tooandorisuNew Issue
2015-12-08 04:06SXXAssigned To => SXX
2015-12-08 04:06SXXStatusnew => assigned
2015-12-08 04:18SXXNote Added: 0006149
2015-12-08 04:41SXXNote Added: 0006150
2015-12-08 04:41SXXStatusassigned => resolved
2015-12-08 04:41SXXFixed in Version => 0.98f
2015-12-08 04:41SXXResolutionopen => fixed
2022-04-12 09:17PovelitelStatusresolved => closed

Notes
(0006149)
SXX   
2015-12-08 04:18   
It's looks like the only case when it's may happen it's when "vcmiarmenelos" cheat was used and there is shipyard built in non-coastal town. E.g bestLocation of course can't find water tile and return -1.
(0006150)
SXX   
2015-12-08 04:41   
Fixed. Warning should be much more informative than visibility error.
https://github.com/vcmi/vcmi/commit/07807fb044c5d84674ce800db6344f91b8513df0 [^]