aboutsummaryrefslogtreecommitdiff
path: root/src/crepe
diff options
context:
space:
mode:
authorheavydemon21 <nielsstunnebrink1@gmail.com>2024-12-19 14:01:35 +0100
committerheavydemon21 <nielsstunnebrink1@gmail.com>2024-12-19 14:01:35 +0100
commitb6d3bc08126652ed42a7c84f5e4a8283e5e74d22 (patch)
tree747e5ba495fb5d343da40d10e478af9f655f70cc /src/crepe
parentb5c4879189a8ff55434c8c04c14163dfda83de65 (diff)
fix merge conflict
Diffstat (limited to 'src/crepe')
-rw-r--r--src/crepe/system/RenderSystem.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/crepe/system/RenderSystem.cpp b/src/crepe/system/RenderSystem.cpp
index 3ec1922..579c9f5 100644
--- a/src/crepe/system/RenderSystem.cpp
+++ b/src/crepe/system/RenderSystem.cpp
@@ -21,7 +21,6 @@
#include "RenderSystem.h"
#include "types.h"
-#include "util/AbsoluutPosition.h"
using namespace crepe;
using namespace std;
@@ -124,7 +123,7 @@ bool RenderSystem::render_particle(const Sprite & sprite, const Transform & tm){
.sprite = sprite,
.texture = res,
.pos = p.position,
- .angle = p.angle + transform_angle,
+ .angle = p.angle + tm.rotation,
.scale = tm.scale,
});
}