CaravelGames / drod

The official public repository of Deadly Rooms of Death and DROD RPG
http://caravelgames.com
56 stars 17 forks source link

Don't clear spark effects when in process of leaving room #624

Closed Hypexion closed 1 week ago

Hypexion commented 1 week ago

Removing spark effects in CGameScreen::ProcessCueEventsBeforeRoomDraw after CCurrentGame has loaded a new room can lead to crashes. To fix this, the spark clearing is skipped if the player has left the room.

Thread: http://forum.caravelgames.com/viewtopic.php?TopicID=46021

mrimer commented 1 week ago

Thank you both!