From 6a4870e7fb02202a43d3326a1af8b787f196374f Mon Sep 17 00:00:00 2001 From: hendricks266 Date: Fri, 3 Jan 2020 10:21:48 +0000 Subject: [PATCH] actors.cpp: Address -Wsometimes-uninitialized warnings git-svn-id: https://svn.eduke32.com/eduke32@8528 1a8010ca-5511-0410-912e-c29ae57300e0 --- source/duke3d/src/actors.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/duke3d/src/actors.cpp b/source/duke3d/src/actors.cpp index b298cdff5..aa67c7696 100644 --- a/source/duke3d/src/actors.cpp +++ b/source/duke3d/src/actors.cpp @@ -169,7 +169,7 @@ void A_RadiusDamageObject_Internal(int const spriteNum, int const otherSprite, i { // this is really weird int const k = blastRadius/3; - int dmgBase, dmgFuzz; + int dmgBase = 0, dmgFuzz = 1; if (spriteDist < k) dmgBase = dmg3, dmgFuzz = dmg4;