Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed infantry 'Boxing' Mechanic #45

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Commits on Jun 7, 2020

  1. Fixed compile errors on 'Boxing' mechanic

    - Fixed use of missing 'BodyFacing' variable in the drawing code
    - Fixed use of missing 'Establish_Contact' method, used 'Transmit_Message(RADIO_HELLO...' instead
    d2f1d8
    MartinPalko committed Jun 7, 2020
    Configuration menu
    Copy the full SHA
    39eb682 View commit details
    Browse the repository at this point in the history
  2. Fixed facing when boxing

    - Target was only being set after call to 'Do_Action(DO_ON_GUARD...' which caused facing to be calculated incorrectly, as the target was invalid at the time of the call.
    0731dc
    MartinPalko committed Jun 7, 2020
    Configuration menu
    Copy the full SHA
    7095efe View commit details
    Browse the repository at this point in the history
  3. Fixed reading of Punch and Kick damage values

    - Randomized reading of infantry punch and kick damage arrays provided a max value that one too high, and was our of the range of the array.
    MartinPalko committed Jun 7, 2020
    Configuration menu
    Copy the full SHA
    6c44596 View commit details
    Browse the repository at this point in the history
  4. Fixed infantry not playing death animation after boxing

    - This issue occurred when an infantry was killed back by the explosive death of a unit it just won a boxing match against
    MartinPalko committed Jun 7, 2020
    Configuration menu
    Copy the full SHA
    a524bb9 View commit details
    Browse the repository at this point in the history
  5. Uncommented IsBoxing check

    - Similar to when infantry are firing, they shouldn't be moving when they are boxing
    MartinPalko committed Jun 7, 2020
    Configuration menu
    Copy the full SHA
    32b74cc View commit details
    Browse the repository at this point in the history
  6. Fixed infantry being stuck in boxing state

    For a number of reasons, infantry can become stuck in  one of the boxing states, while they have been told to stop boxing. This check catches those cases.
    MartinPalko committed Jun 7, 2020
    Configuration menu
    Copy the full SHA
    f25029f View commit details
    Browse the repository at this point in the history