- prettification of p_teleport.cpp and some include cleanup.

This commit is contained in:
Christoph Oelckers 2019-01-31 22:22:39 +01:00
commit 65c2c318fb
6 changed files with 65 additions and 40 deletions

View file

@ -346,7 +346,7 @@ portnode_t *P_AddPortalnode(FLinePortal *s, AActor *thing, portnode_t *nextnode)
{
portnode_t *node;
if (s == 0)
if (s == nullptr)
{
I_FatalError("AddSecnode of 0 for %s\n", thing->GetClass()->TypeName.GetChars());
}