(no branch):
Added nullptr return when checking for GetMainCameraComponent
This commit is contained in:
parent
1666a0113b
commit
e86964e5b7
|
@ -43,6 +43,7 @@ namespace SHADE
|
|||
if (!camComponent)
|
||||
{
|
||||
SHLOG_WARNING("Camera Director warning: Entity does not have a camera");
|
||||
return nullptr;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue