Skip to content

Commit

Permalink
BreakBarrel cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
qndel authored and AJenbo committed Oct 11, 2020
1 parent cf15c6e commit 613fe07
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/objects.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 613fe07

Please sign in to comment.