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

@@ -7,7 +7,7 @@ byteArray BlockReplacements::replacements = byteArray(256);
void BlockReplacements::staticCtor() {
for (int i = 0; i < 256; i++) {
uint8_t b = (uint8_t)i;
if (b != 0 && Tile::tiles[b & 0xff] == NULL) {
if (b != 0 && Tile::tiles[b & 0xff] == nullptr) {
b = 0;
}
BlockReplacements::replacements[i] = b;