Skip to content

Conversation

@nullsystem
Copy link
Collaborator

Description

  • The array is used as 1-indexed and so MAX_PLAYER numbered index could be used. So instead increase the array size by 1 so it can handle that.
  • 0 index never used, but better that than converting to 0-index when using the array everytime

Toolchain

  • Linux GCC Distro Native - Arch GCC 15

Linked Issues

* The array is used as 1-indexed and so `MAX_PLAYER` numbered index
  could be used. So instead increase the array size by 1 so it can
  handle that.
* 0 index never used, but better that than converting to 0-index when
  using the array everytime
* fixes NeotokyoRebuild#1479
@nullsystem nullsystem requested a review from a team November 16, 2025 15:57
Masterkatze
Masterkatze previously approved these changes Nov 16, 2025
Rainyan
Rainyan previously approved these changes Nov 16, 2025
@nullsystem nullsystem dismissed stale reviews from Rainyan and Masterkatze via 8a17e07 November 16, 2025 17:12
@nullsystem nullsystem merged commit 319b688 into NeotokyoRebuild:master Nov 16, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

m_rfAttackers... off by 1

3 participants