diff options
Diffstat (limited to 'WitnessRandomizer')
-rw-r--r-- | WitnessRandomizer/WitnessRandomizer.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/WitnessRandomizer/WitnessRandomizer.cpp b/WitnessRandomizer/WitnessRandomizer.cpp index f8bd4ee..8a966d4 100644 --- a/WitnessRandomizer/WitnessRandomizer.cpp +++ b/WitnessRandomizer/WitnessRandomizer.cpp | |||
@@ -158,6 +158,9 @@ void WitnessRandomizer::SwapPanels(int panel1, int panel2, int flags) { | |||
158 | offsets[0x4A8] = sizeof(void*); // *colored_regions | 158 | offsets[0x4A8] = sizeof(void*); // *colored_regions |
159 | // offsets[0x4B8] = sizeof(void*); // *backing_texture | 159 | // offsets[0x4B8] = sizeof(void*); // *backing_texture |
160 | } | 160 | } |
161 | if (flags & SWAP_BACK_DISTANCE) { | ||
162 | offsets[0x22C] = sizeof(float); // extra_back_distance | ||
163 | } | ||
161 | 164 | ||
162 | for (auto const& [offset, size] : offsets) { | 165 | for (auto const& [offset, size] : offsets) { |
163 | SwapPanelData(panel1, panel2, offset, size); | 166 | SwapPanelData(panel1, panel2, offset, size); |