aboutsummaryrefslogtreecommitdiffstats
path: root/testing/zangband/fix-explosive-rune-error.patch
diff options
context:
space:
mode:
authorWill Sinatra <wpsinatra@gmail.com>2020-08-12 20:34:50 -0400
committerLeo <thinkabit.ukim@gmail.com>2020-08-13 09:40:06 +0000
commit194533749202a81aba8408023bfc3969db775f0d (patch)
tree2380aaf5b2e758b54942c7eca48610d09c1ab8d8 /testing/zangband/fix-explosive-rune-error.patch
parentd2b71227908c49f224b4003625ef96cbb026685f (diff)
downloadaports-194533749202a81aba8408023bfc3969db775f0d.tar.gz
aports-194533749202a81aba8408023bfc3969db775f0d.tar.bz2
aports-194533749202a81aba8408023bfc3969db775f0d.tar.xz
testing/zangband: new aport
Diffstat (limited to 'testing/zangband/fix-explosive-rune-error.patch')
-rw-r--r--testing/zangband/fix-explosive-rune-error.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/testing/zangband/fix-explosive-rune-error.patch b/testing/zangband/fix-explosive-rune-error.patch
new file mode 100644
index 0000000000..8b32831bae
--- /dev/null
+++ b/testing/zangband/fix-explosive-rune-error.patch
@@ -0,0 +1,12 @@
+# Typo error, without this rune's won't break, which could lead to game breaking errors
+--- a/lib/edit/t_info.txt
++++ b/lib/edit/t_info.txt
+@@ -92,7 +92,7 @@
+ L:MENTT:if (do_move == TRUE) then
+ L:MENTT: if (bAnd(race.flags[0], RF0_NEVER_BLOW) ~= 0) and
+ L:MENTT: (randint1(BREAK_MINOR_GLYPH) < race.level) then
+-L:MENTT: if (field.fx == player.px) and (field.fy = player.py) then
++L:MENTT: if (field.fx == player.px) and (field.fy == player.py) then
+ L:MENTT: msgf("The rune explodes!")
+ L:MENTT: fire_ball(GF_MANA, 0, 2 * ((player.lev / 2) + damroll(7, 7)), 2)
+ L:MENTT: else