Skip to content

Commit

Permalink
Fix? compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
lhog committed Dec 15, 2024
1 parent cb56e17 commit 4387ced
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions rts/Rendering/Common/ModelDrawerData.h
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ inline void CModelDrawerDataBase<T>::UpdateObjectUniforms(const T* o)

if (gu->spectatingFullView || o->IsInLosForAllyTeam(gu->myAllyTeam)) {
uni.id = o->id;
// TODO remove drawPos, replace with pos
uni.drawPos = float4{ o->drawPos, o->heading * math::PI / SPRING_MAX_HEADING };
uni.speed = o->speed;
uni.maxHealth = o->maxHealth;
Expand Down
2 changes: 1 addition & 1 deletion rts/Rendering/Common/UpdateList.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include <tuple>
#include <optional>
#include <vector>
#include "System/creg/creg.h"
#include "System/creg/creg_cond.h"

class UpdateList {
CR_DECLARE_STRUCT(UpdateList)
Expand Down

0 comments on commit 4387ced

Please sign in to comment.