User Tools

Site Tools


zxt:extension:00000001:000b

00000001:000b - FIX: Destruction of adjacent passages (DRAFT)

Information

  • ID: 00000001:000b

Flags

Flag Set? (MUST/MAY/…) Description
parsing_must MUST NOT
reading_must MUST NOT
writing_must MUST NOT
playing_should MAY
playing_must MAY
editing_should MUST NOT

Field data

None.

Description

This bugfix fixes an issue where, if the player is standing on a passage A, moving to adjacent passage B will destroy passage A.

This requires patches in two locations:

  • BoardChange() must no longer forcibly set the Element and Color of the player. It should only set the Color if the Element is E_PLAYER (to handle moving while Energizer-affected). (TODO: Does this break anything?),
  • BoardPassageTeleport() must check if the element it is removing (:= E_EMPTY) is E_PLAYER before doing so.

Implementations

TBD

zxt/extension/00000001/000b.txt · Last modified: 2021/12/27 10:21 by asie