Possessed Tank not set sometimes

I’m not sure why this problem is occurring, but sometimes after I’ve compiled, the ensure message for PossessedTank kicks in. The problem goes away if I recompile though.

auto PossessedTank = Cast<ATank>(InPawn);
if (!ensure(PossessedTank)) { return; }

Might not be ATank, Sam fixes this later.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms