refactor: replace NULL with nullptr across C++ codebase

Excludes vendored C libs (zlib, Miles, DirectXMath, boost, Iggy).
This commit is contained in:
MatthewBeshay
2026-03-30 16:25:52 +11:00
parent a330ecdcbb
commit dfb0e3b03e
752 changed files with 5396 additions and 5396 deletions

View File

@@ -26,7 +26,7 @@ ExplodePacket::ExplodePacket(
this->r = r;
m_bKnockbackOnly = knockBackOnly;
if (toBlow != NULL) {
if (toBlow != nullptr) {
this->toBlow.assign(toBlow->begin(), toBlow->end());
// for( AUTO_VAR(it, toBlow->begin()); it != toBlow->end(); it++ )
//{
@@ -34,7 +34,7 @@ ExplodePacket::ExplodePacket(
// }
}
if (knockback != NULL) {
if (knockback != nullptr) {
knockbackX = (float)knockback->x;
knockbackY = (float)knockback->y;
knockbackZ = (float)knockback->z;