From 613fe07b486200449d7b90a09afc20db640699d8 Mon Sep 17 00:00:00 2001 From: qndel Date: Sun, 11 Oct 2020 21:05:56 +0200 Subject: [PATCH] BreakBarrel cleanup --- Source/objects.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/objects.cpp b/Source/objects.cpp index 7301960eb..82bd011d0 100644 --- a/Source/objects.cpp +++ b/Source/objects.cpp @@ -4803,18 +4803,18 @@ void BreakBarrel(int pnum, int i, int dam, BOOL forcebreak, BOOL sendmsg) return; } - object[i]._oBreak = -1; object[i]._oVar1 = 0; object[i]._oAnimFlag = 1; object[i]._oAnimFrame = 1; object[i]._oAnimDelay = 1; object[i]._oSolidFlag = FALSE; object[i]._oMissFlag = TRUE; + object[i]._oBreak = -1; object[i]._oSelFlag = 0; object[i]._oPreFlag = TRUE; if (deltaload) { - object[i]._oAnimCnt = 0; object[i]._oAnimFrame = object[i]._oAnimLen; + object[i]._oAnimCnt = 0; object[i]._oAnimDelay = 1000; return; }