Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion Source/Managers/MovableMan.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1371,7 +1371,11 @@ void MovableMan::Update() {
[&](int start, int end) {
ZoneScopedN("Actors See");
for (int i = start; i < end; ++i) {
m_Actors[i]->CastSeeRays();
// TODO - this null check really shouldn't be required. There's almost definitely an issue where the actor update can somehow fuck with this mid-update
// this is VERY bad, and needs investigation!
if (m_Actors[i]) {
m_Actors[i]->CastSeeRays();
}
}
});

Expand Down