about summary refs log tree commit diff stats
path: root/WitnessRandomizer
diff options
context:
space:
mode:
authorjbzdarkid <jbzdarkid@gmail.com>2018-10-24 18:45:54 -0700
committerjbzdarkid <jbzdarkid@gmail.com>2018-10-24 18:45:54 -0700
commit7298fedc9dc6170a47a489a7918de0f7361621dd (patch)
treee9313f23e09f51970c577e8f4b9173cba1f32d8e /WitnessRandomizer
parentec1762e2da687d544b463d150c039eac72374d66 (diff)
downloadwitness-tutorializer-7298fedc9dc6170a47a489a7918de0f7361621dd.tar.gz
witness-tutorializer-7298fedc9dc6170a47a489a7918de0f7361621dd.tar.bz2
witness-tutorializer-7298fedc9dc6170a47a489a7918de0f7361621dd.zip
Oops
Diffstat (limited to 'WitnessRandomizer')
-rw-r--r--WitnessRandomizer/WitnessRandomizer.cpp3
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);