Isn’t the nullptr check on HitResult.GetActor()
superfluous, since we’re already in the if (bTraceHit) {
block?
Surprisingly - as someone on the Discord had encountered this - that can be true yet GetActor return nullptr.
Although you could just check GetActor() initially.
1 Like
superfluous… if programmers knew all that will happen then there would be no bugs in anything
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.