MantisBT - VCMI
View Issue Details
0002139VCMIGUI - Adventure Mappublic2015-03-23 17:072016-04-07 13:44
Povelitel 
vmarkovtsev 
normalminoralways
closedfixed 
0.97c 
0.98g 
0002139: When spell scroll captured in battle spell name is missing on R-click
when you kill the hero is not visible in the spell scrolls (R-click)
No tags attached.
png scrols.PNG (286,476) 2015-03-23 17:07
https://bugs.vcmi.eu/file_download.php?file_id=2181&type=bug
png

? SXX_spellscroll.h3m (1,558) 2016-01-21 07:30
https://bugs.vcmi.eu/file_download.php?file_id=2440&type=bug
Issue History
2015-03-23 17:07PovelitelNew Issue
2015-03-23 17:07PovelitelFile Added: scrols.PNG
2015-12-30 13:02SXXCategoryMechanics - Adventure Map => GUI - Adventure Map
2015-12-30 13:02SXXNote Added: 0006239
2015-12-30 13:03SXXStatusnew => confirmed
2015-12-30 13:03SXXSummarywhen you kill the hero is not visible in the spell scrolls (R-click) => When spell scroll captured in battle spell name is missing on R-click
2016-01-21 07:20vmarkovtsevNote Added: 0006331
2016-01-21 07:30SXXFile Added: SXX_spellscroll.h3m
2016-01-21 07:30SXXNote Added: 0006332
2016-01-21 08:01vmarkovtsevAssigned To => vmarkovtsev
2016-01-21 08:01vmarkovtsevStatusconfirmed => assigned
2016-01-21 13:43vmarkovtsevNote Added: 0006334
2016-01-21 17:32vmarkovtsevNote Added: 0006335
2016-01-27 07:04SXXStatusassigned => resolved
2016-01-27 07:04SXXFixed in Version => 0.98g
2016-01-27 07:04SXXResolutionopen => fixed
2016-04-07 13:44PovelitelStatusresolved => closed

Notes
(0006239)
SXX   
2015-12-30 13:02   
Confirm this behaviour, but this is clearly UI issue.
(0006331)
vmarkovtsev   
2016-01-21 07:20   
Save please?
(0006332)
SXX   
2016-01-21 07:30   
Attached map.
(0006334)
vmarkovtsev   
2016-01-21 13:43   
It's clear why it happens.

server/CGameHandler.cpp, near line 545:

arts.push_back (art->artType->id);

For spell scrolls, single art ID is not enough. Will issue a fix soon.
(0006335)
vmarkovtsev   
2016-01-21 17:32   
https://github.com/vcmi/vcmi/pull/165 [^]