Tíquete #40304

Correction to change for zapping unidentified wand

: 2020-04-04 14:46 Última Atualização: 2020-04-11 00:00

Relator:
Dono:
Tipo:
Estado:
Fechado
Componente:
(Nenhum)
Prioridade:
3
Gravidade:
3
Resolução:
Nenhum
Arquivo:
1

Details

The change to better handle zapping an unidentified wand in the pack introduced a logic error: the previous value of creature_ptr->update is cached (with additions for changes that may be necessary due to the zapping), its value is then modified, but then the cached value is applied to creature_ptr->window rather than creature_ptr->update. The For2.2.2-Refactoring-zapwand-unidentified-correction branch on the hengbandforosx project , https://osdn.net/projects/hengbandforosx/scm/git/hengbandosx/ , has the correction for that. The correction has also been attached as a patch (from git format-patch against revision a2fa431581ba03ca0f40b9948ce1537b5e42f0cd in your For2.2.2-Refactoring branch).

Ticket History (3/4 Histories)

2020-04-04 14:46 Updated by: backwardseric
  • New Ticket "Correction to change for zapping unidentified wand" created
2020-04-05 22:15 Updated by: deskull
2020-04-11 00:00 Updated by: deskull
  • Estado Update from Aberto to Fechado

Attachment File List

Editar

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Login