From 54fc724b257ec1fd3ce622d92641eca24b7898d0 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sun, 24 Oct 2021 08:24:02 +0200 Subject: [PATCH] - fixed bad initialization of local variable. Probably went unnoticed because it is in an unlikely code path. --- source/games/exhumed/src/move.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/games/exhumed/src/move.cpp b/source/games/exhumed/src/move.cpp index f8da39675..270ae2af4 100644 --- a/source/games/exhumed/src/move.cpp +++ b/source/games/exhumed/src/move.cpp @@ -1361,7 +1361,7 @@ DExhumedActor* GrabBodyGunSprite() } else { - auto pSprite = &pActor->s(); + pSprite = &pActor->s(); int nAnim = pSprite->owner; if (nAnim != -1) {