From f63c4af8beb6338f785eaf3fbbb42e6f4eef7d11 Mon Sep 17 00:00:00 2001 From: Flakebi Date: Fri, 4 Dec 2015 21:19:15 +0100 Subject: [PATCH] Fix crash --- src/karts/cached_characteristic.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/karts/cached_characteristic.cpp b/src/karts/cached_characteristic.cpp index f0b6d6bce..0197f963d 100644 --- a/src/karts/cached_characteristic.cpp +++ b/src/karts/cached_characteristic.cpp @@ -194,7 +194,7 @@ void CachedCharacteristic::process(CharacteristicType type, Value value, *value.ia = *static_cast(v); break; case TYPE_BOOL: - *value.f = *static_cast(v); + *value.b = *static_cast(v); break; } *is_set = true;