mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-05-31 11:17:27 +00:00
refactor: replace NULL with nullptr across C++ codebase
Excludes vendored C libs (zlib, Miles, DirectXMath, boost, Iggy).
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user