From 7600a7764100e404ae132317c02e706250039e6c Mon Sep 17 00:00:00 2001 From: Mitchell Richters Date: Sun, 28 Aug 2022 13:07:42 +1000 Subject: [PATCH] - Fix issues with `spritetypebase` int angle methods. --- source/core/maptypes.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/core/maptypes.h b/source/core/maptypes.h index 30a0e4b44..e5708c2c0 100644 --- a/source/core/maptypes.h +++ b/source/core/maptypes.h @@ -501,12 +501,12 @@ struct spritetypebase void set_int_ang(int a) { - angle = DAngle::fromDeg(a); + angle = DAngle::fromBuild(a); } void add_int_ang(int a) { - angle += DAngle::fromDeg(a); + angle += DAngle::fromBuild(a); } void copy_ang(const spritetypebase* other)