From 72e71cdc42838db226e3ec2d713b364f4b1623d3 Mon Sep 17 00:00:00 2001 From: Mitchell Richters Date: Sat, 10 Sep 2022 21:38:52 +1000 Subject: [PATCH] - Exhumed: Use `minAngle` in a place where `-1` was previously. * Setup I did in "- Exhumed: Change `inita` into a DAngle." was less than what we consider the epsilon value for angles. --- source/games/exhumed/src/init.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/games/exhumed/src/init.cpp b/source/games/exhumed/src/init.cpp index 2745dc431..f4212de7c 100644 --- a/source/games/exhumed/src/init.cpp +++ b/source/games/exhumed/src/init.cpp @@ -439,7 +439,7 @@ void ProcessSpriteTag(DExhumedActor* pActor, int nLotag, int nHitag) } case 116: { - BuildRat(pActor, nulvec, nullptr, DAngle::fromBam(unsigned(-1))); + BuildRat(pActor, nulvec, nullptr, -minAngle); return; } case 115: // Rat (eating)