Skip to content

Use keyed admin interior lookup and remove fixed warp Z offset - #760

Open
abe403 wants to merge 1 commit into
multitheftauto:masterfrom
abe403:codex/admin-interior-lookup-warp-height
Open

abe403 wants to merge 1 commit into
multitheftauto:masterfrom
abe403:codex/admin-interior-lookup-warp-height

Conversation

@abe403

@abe403 abe403 commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor

Changes

  • Store admin interiors by their XML id and look them up directly when selected.
  • Remove the fixed + 1 Z offset from warp() so it uses the destination's Z coordinate.

CI note

The repository-wide lint job reports an existing shadowed-variable warning in [admin]/admin2/server/admin_ACL.lua. The changed file, [admin]/admin/server/admin_server.lua, passes lint.

@abe403 abe403 closed this Sep 24, 2026
@abe403 abe403 changed the title Use direct admin interior lookup and remove warp height offset Use keyed admin interior lookup and remove fixed warp Z offset Sep 24, 2026
@abe403 abe403 reopened this Sep 24, 2026
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.

1 participant