diff options
| author | Valentin Popov <valentin@popov.link> | 2026-12-01 05:33:21 +0300 |
|---|---|---|
| committer | Valentin Popov <valentin@popov.link> | 2026-12-01 05:33:21 +0300 |
| commit | 7361569a4f2f05ba4c97f276478e70b98c7da39a (patch) | |
| tree | 95fd6f9e4a9486e8d3da750fa3c33feb3df9f74b /crates/fparkan-runtime/src/destruction.rs | |
| parent | be3b214702693eab36da4484624327d2cad8beec (diff) | |
| download | fparkan-7361569a4f2f05ba4c97f276478e70b98c7da39a.tar.xz fparkan-7361569a4f2f05ba4c97f276478e70b98c7da39a.zip | |
fix(combat): accept weapon CPT points with distinct metadata words
Control.dll caches the node from CPT offset +4 at RVA 0xb210 and uses
that node for the point and direction at RVA 0x1b4f0. A native call with
the medium cannon's words 3 and 2 selected node 3. Rejecting those
different words disabled the authored bb_m_02 cannon.
The licensed regression finds the cannon in the stock medium warbot.
Both enemy medium warbots fire in the normal-start input replay of
Two Fortresses. The 29 stock missions still reach 900 simulated seconds.
Rocket racks without resolved CPT lists remain outside the weapon bank.
Diffstat (limited to 'crates/fparkan-runtime/src/destruction.rs')
0 files changed, 0 insertions, 0 deletions
