Separated Ortho and perspective matrices in camera #221

Merged
maverickdgg merged 5 commits from SP3-141-Camera-System into main 2022-11-18 12:24:19 +08:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit c80a819b6e - Show all commits

View File

@ -218,7 +218,7 @@ namespace SHADE
EntityID result = MAX_EID;
for (auto& entity : entityVec)
{
if (entity->name == name)
if (entity && entity->name == name)
result = entity->GetEID();
}
return result;