Teleportationstrank: the running campaign's portal list

In the Underworld the potion opens the Underworld portals (busy dialog mode
6, as the teleporters there do); g_campaign moved to game/addresses.h.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
khallaandClaude Opus 5.5 committed 2026-10-21 00:42:55 +02:00
1 parent 0ef3cf4bbd
commit 3978060954
4 files changed
+26 -5

No files matched your search

+8
View File
@@ -32,3 +32,11 @@ one of them.
- The potion is used up (flag, RemoveItem, DestroyObject as UseItem does; a
stack loses one) only when cCreature::Teleport is called from the portal
case while it is pending; closing the window keeps it.
## Campaign (2026-10-21)
The potion showed Ancaria's portals in the Underworld. cInterpretSQW::Teleporter
(0x4ae330) chooses the busy dialog's mode by the portal touched: index > 0xd
(Underworld) mode 6, else mode 5, both with the hero's known-portal mask
(+0x578). The potion now chooses by the running campaign, g_campaign
(0x182cdc8, u16: 0 Ancaria, 1 Underworld): mode 6 in the Underworld.