Skip to content

Commit

Permalink
add missing newline
Browse files Browse the repository at this point in the history
  • Loading branch information
EasterLee committed Dec 29, 2023
1 parent fe7446b commit 12247b5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/zombiereborn.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ void CZRPlayerClassManager::LoadPlayerClass()
}
else
{
Warning("Could not find specified base \"%s\" for %s!!!", pszBase, pszClassName);
Warning("Could not find specified base \"%s\" for %s!!!\n", pszBase, pszClassName);
continue;
}
}
Expand Down Expand Up @@ -214,7 +214,7 @@ void CZRPlayerClassManager::LoadPlayerClass()
}
else
{
Warning("Could not find specified base \"%s\" for %s!!!", pszBase, pszClassName);
Warning("Could not find specified base \"%s\" for %s!!!\n", pszBase, pszClassName);
continue;
}
}
Expand Down Expand Up @@ -259,7 +259,7 @@ void CZRPlayerClassManager::ApplyDefaultHumanClass(CCSPlayerPawn *pPawn)
{
if (m_vecHumanDefaultClass.Count() == 0)
{
Warning("Missing default human class!!!");
Warning("Missing default human class!!!\n");
return;
}
ApplyHumanClass(m_vecHumanDefaultClass[rand() % m_vecHumanDefaultClass.Count()], pPawn);
Expand All @@ -285,7 +285,7 @@ void CZRPlayerClassManager::ApplyDefaultZombieClass(CCSPlayerPawn *pPawn)
{
if (m_vecZombieDefaultClass.Count() == 0)
{
Warning("Missing default zombie class!!!");
Warning("Missing default zombie class!!!\n");
return;
}
ApplyZombieClass(m_vecZombieDefaultClass[rand() % m_vecZombieDefaultClass.Count()], pPawn);
Expand Down Expand Up @@ -641,7 +641,7 @@ void ZR_InfectMotherZombie(CCSPlayerController *pVictimController)
g_pZRPlayerClassManager->ApplyZombieClass(pClass, pVictimPawn);
else
{
Warning("Missing mother zombie class!!!");
//Warning("Missing mother zombie class!!!\n");
g_pZRPlayerClassManager->ApplyDefaultZombieClass(pVictimPawn);
}
}
Expand Down

0 comments on commit 12247b5

Please sign in to comment.