Go Back   Angband Forums > Angband > Vanilla

Thread Tools Display Modes
Old July 26, 2022, 11:49   #1
PowerWyrm's Avatar
Join Date: Apr 2008
Posts: 2,944
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 (or to learn more about this new variant!
PowerWyrm is offline   Reply With Quote

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 03:45.

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