MantisBT - VCMI
View Issue Details
0001953VCMIGUI - Adventure Mappublic2014-11-16 19:142016-11-11 08:22
Kantor 
Fay 
normalminoralways
closedfixed 
0.97 
0.97c 
0001953: Switching view to underground / surface sometimes doesn't work properly
Here are steps to reproduce it:
1. Start map "__1_map without underground"
2. Quit to main menu
3. Start map "__2_map with underground"
At this point it should be noticeable that button which switches surface/underground view is disabled.
No tags attached.
? __1.h3m (5,708) 2014-11-16 19:15
https://bugs.vcmi.eu/file_download.php?file_id=1969&type=bug
? __2.h3m (9,232) 2014-11-16 19:15
https://bugs.vcmi.eu/file_download.php?file_id=1970&type=bug
Issue History
2014-11-16 19:14KantorNew Issue
2014-11-16 19:15KantorFile Added: __1.h3m
2014-11-16 19:15KantorFile Added: __2.h3m
2014-11-16 19:17KantorNote Added: 0005111
2015-01-19 22:35FayNote Added: 0005386
2015-01-19 22:35FayNote Edited: 0005386bug_revision_view_page.php?bugnote_id=5386#r2792
2015-02-01 21:43FayNote Added: 0005405
2015-02-01 21:43FayAssigned To => Fay
2015-02-01 21:43FayStatusnew => resolved
2015-02-01 21:43FayResolutionopen => fixed
2015-02-01 21:43FayFixed in Version => 0.97c
2016-11-11 08:22SXXStatusresolved => closed

Notes
(0005111)
Kantor   
2014-11-16 19:17   
I thought it was related to linuxrocks123 changes, but I was wrong.
(0005386)
Fay   
2015-01-19 22:35   
This is caused by CPlayerInterface reusing existing instance of CAdvMapInterface when reloading games (and underground button blocked state is updated only in ctor).
I fixed it in my fork, so it would be fixed if it was merged: https://github.com/Fayth/vcmi/commit/8adc20936682af02b9d595a177c3e3853c744f21 [^]

(0005405)
Fay   
2015-02-01 21:43   
Should be fixed in https://github.com/vcmi/vcmi/pull/75 [^]