Changes between Version 5 and Version 7 of Ticket #14493


Ignore:
Timestamp:
Jun 5, 2023, 5:36:23 AM (17 months ago)
Author:
dreammaster
Comment:

You're right. I dug a bit deeper, and Combat._oldCharacter is set all the time when a character casts a spell (so it would really be more appropriate if it were a general global). So it was proper to always properly set the field to the character whose item is being used, no matter what mode the game is in. I've now committed an appropriate fix.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #14493

    • Property Resolutionfixed
    • Property Status newclosed
  • Ticket #14493 – Description

    v5 v7  
    1 
    21edited: actually, the game crashes frequently when trying to use either of those items, both wand of daily protection and coin of daily sorcery. Not sure why this happens.