# Bcc: cont...@bugs.debian.org (to prevent inadvertent replies there) package kq tags 537798 + patch quit
The backported patch for #537798 works all right. I haven't yet tested the attached patch for #224610. kq (0.99.cvs20070319-1.1.kon.1) local; urgency=low * Local version! * debian/patches/020_crash_in_estate.diff: + New patch -- fix "Crash in Dungar's estate". (Closes: #537798) * debian/patches/020_spells_show_miss.diff: + New patch -- fix "Status changing spells sometimes 'miss' incorrectly." (Closes: #224610) -- Kalle Olavi Niemitalo <k...@iki.fi> Tue, 29 Dec 2009 17:29:27 +0200
Fix Debian bug 224610, "Status changing spells sometimes 'miss' incorrectly." --- kq-0.99.cvs20070319.orig/src/magic.c 2006-07-27 12:41:42.000000000 +0300 +++ kq-0.99.cvs20070319/src/magic.c 2009-12-29 16:49:49.000000000 +0200 @@ -752,6 +752,8 @@ static void geffect_all_allies (int cast ta[b] = MISS; return; } + for (a = st; a < st + nt; a++) + ta[a] = NODISPLAY; switch (spell_number) { case M_BLESS: for (b = st; b < st + nt; b++) { @@ -827,6 +829,7 @@ static void geffect_one_ally (int caster return; } #endif + ta[tgt] = NODISPLAY; /* DS: Now the 'caster' argument isn't used, so I'm doing this: */ caster = caster; switch (spell_number) { @@ -909,6 +912,7 @@ static void heal_one_ally (int caster, i return; } #endif + ta[tgt] = NODISPLAY; /* DS: Now the 'caster' argument isn't used, so I'm doing this: */ caster = caster; switch (spell_number) {
Fix Debian bug 537798, "Crash in Dungar's estate". Backported from upstream CVS: cvs -d :pserver:anonym...@kqlives.cvs.sourceforge.net:/cvsroot/kqlives rdiff -u -r 1.20 -r 1.21 KQ/scripts/estate.lua --- kq-0.99.cvs20070319.orig/scripts/estate.lua 2006-11-12 21:33:03.000000000 +0300 +++ kq-0.99.cvs20070319/scripts/estate.lua 2009-12-28 02:45:20.000000000 +0200 @@ -144,7 +144,7 @@ local wife = 1 set_progress(P_TALKGELIK, 4) - set_ent_facing(en, FACE_DOWN) + set_ent_facing(wife, FACE_DOWN) bubble(wife, "Oh $0!") bubble(wife, "I woke up because I thought I heard fighting in your room.") bubble(wife, "When I turned to wake Dungar, I realized that he was dead.")
pgpeq1XpW5Jff.pgp
Description: PGP signature