MantisBT - VCMI
View Issue Details
0000544VCMIGUI - Battlespublic2010-07-25 12:322014-05-30 17:39
mc001 
Tow 
normalcrashalways
closedfixed 
0.81b 
0.81c 
0000544: Crash when we try to cast a spell for which we don't have enough mana
Original Summary: Crash when trying to use "Haste" second time

The crash only happens when playing Stronghold, after one use, spell can't be used again because game crashes. I tried it with 2 different cities and there were no problems.
No tags attached.
png crash.PNG (494,246) 2010-07-25 12:32
https://bugs.vcmi.eu/file_download.php?file_id=474&type=bug
png
Issue History
2010-07-25 12:32mc001New Issue
2010-07-25 12:32mc001Statusnew => assigned
2010-07-25 12:32mc001Assigned To => Tow dragon
2010-07-25 12:32mc001File Added: crash.PNG
2010-07-26 19:40ZamolxisNote Added: 0001175
2010-07-26 19:40ZamolxisSummaryCrash when trying to use "Haste" second time => Crash when we try to cast a spell for which we don't have enough mana
2010-07-26 19:40ZamolxisDescription Updatedbug_revision_view_page.php?rev_id=995#r995
2010-07-26 19:40ZamolxisSeverityminor => crash
2010-07-26 19:41ZamolxisNote Edited: 0001175bug_revision_view_page.php?bugnote_id=1175#r997
2010-07-26 20:20TowNote Added: 0001176
2010-07-26 20:20TowAssigned ToTow dragon => Warmonger
2010-07-26 20:20TowStatusassigned => confirmed
2010-07-26 20:21TowNote Deleted: 0001176
2010-07-26 20:57TowNote Added: 0001177
2010-07-26 20:57TowStatusconfirmed => resolved
2010-07-26 20:57TowResolutionopen => fixed
2010-07-26 20:57TowAssigned ToWarmonger => Tow
2010-07-26 23:36TowFixed in Version => 0.81c
2014-05-30 17:39beegeeStatusresolved => closed

Notes
(0001175)
Zamolxis   
2010-07-26 19:40   
(edited on: 2010-07-26 19:41)
I believe the cause of the crash is not related to Haste, Stronghold or casting same spell more than once.

I've done some tests and 0.81b actually crashes whenever we try to cast a spell for which we don't have enough mana. Summary updated to avoid confusion.

(0001177)
Tow   
2010-07-26 20:57   
Fixed in r1692