summary refs log tree commit diff stats
path: root/Source/RandomizerCore.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/RandomizerCore.cpp')
-rw-r--r--Source/RandomizerCore.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/RandomizerCore.cpp b/Source/RandomizerCore.cpp index 11802f5..c673e2d 100644 --- a/Source/RandomizerCore.cpp +++ b/Source/RandomizerCore.cpp
@@ -30,6 +30,9 @@ void RandomizerCore::SwapPanels(int panel1, int panel2, int flags) {
30 if (flags & SWAP_AUDIO_NAMES) { 30 if (flags & SWAP_AUDIO_NAMES) {
31 offsets[AUDIO_LOG_NAME] = sizeof(void*); 31 offsets[AUDIO_LOG_NAME] = sizeof(void*);
32 } 32 }
33 if (flags & SWAP_BACK_DISTANCE) {
34 offsets[EXTRA_BACK_DISTANCE] = sizeof(float);
35 }
33 if (flags & SWAP_LINES) { 36 if (flags & SWAP_LINES) {
34 offsets[PATH_COLOR] = 16; 37 offsets[PATH_COLOR] = 16;
35 offsets[REFLECTION_PATH_COLOR] = 16; 38 offsets[REFLECTION_PATH_COLOR] = 16;
@@ -52,7 +55,6 @@ void RandomizerCore::SwapPanels(int panel1, int panel2, int flags) {
52 offsets[PUSH_SYMBOL_COLORS] = sizeof(int); 55 offsets[PUSH_SYMBOL_COLORS] = sizeof(int);
53 offsets[OUTER_BACKGROUND] = 16; 56 offsets[OUTER_BACKGROUND] = 16;
54 offsets[OUTER_BACKGROUND_MODE] = sizeof(int); 57 offsets[OUTER_BACKGROUND_MODE] = sizeof(int);
55 offsets[EXTRA_BACK_DISTANCE] = sizeof(float);
56 offsets[TRACED_EDGES] = 16; 58 offsets[TRACED_EDGES] = 16;
57 offsets[AUDIO_PREFIX] = sizeof(void*); 59 offsets[AUDIO_PREFIX] = sizeof(void*);
58// offsets[IS_CYLINDER] = sizeof(int); 60// offsets[IS_CYLINDER] = sizeof(int);