Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Vanilla

Reply
 
Thread Tools Display Modes
Old July 26, 2022, 11:49   #1
PowerWyrm
Prophet
 
PowerWyrm's Avatar
 
Join Date: Apr 2008
Posts: 2,938
PowerWyrm is on a distinguished road
Regression in effect_handler_EARTHQUAKE()

Commit e176294 pushed taking damage later in effect_handler_EARTHQUAKE(). However, the "damage" variable is used as a global variable in that function and overwritten by monster damage on line 1492 if a monster takes damage from the quake, so the value on line 1554 may be incorrect. The code should use a different variable for monster damage.
__________________
PWMAngband variant maintainer - check http://powerwyrm.monsite-orange.fr (or http://www.mangband.org/forum/viewforum.php?f=9) to learn more about this new variant!
PowerWyrm is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
V4 Regression: Squelch broken in trunk Pete Mack v4 2 April 17, 2013 22:48


All times are GMT +1. The time now is 16:06.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2022, vBulletin Solutions Inc.