From 65a5dbd88e15cdcf00a9b6c8e28b6544d23148a7 Mon Sep 17 00:00:00 2001 From: gir489 <100792176+gir489returns@users.noreply.github.com> Date: Sun, 23 Jul 2023 12:38:22 -0400 Subject: [PATCH] Fixed typo in view_debug_locals that caused freezing floats to inject garbage. (#1820) --- src/views/debug/view_debug_locals.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/debug/view_debug_locals.cpp b/src/views/debug/view_debug_locals.cpp index 698a8c42..8a3aac61 100644 --- a/src/views/debug/view_debug_locals.cpp +++ b/src/views/debug/view_debug_locals.cpp @@ -165,7 +165,7 @@ namespace big if (local_.m_freeze) { - *local_.m_internal_address = local_.m_freeze_value_int; + *local_.m_internal_address = local_.m_freeze_value_float; } break; case 2: @@ -178,7 +178,7 @@ namespace big if (local_.m_freeze) { - *local_.m_internal_address = local_.m_freeze_value_float; + *local_.m_internal_address = local_.m_freeze_value_int; } break;