![]() |
#1 |
Prophet
Join Date: Apr 2008
Posts: 2,944
![]() |
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! |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
V4 Regression: Squelch broken in trunk | Pete Mack | v4 | 2 | April 17, 2013 22:48 |