refactor: replace NULL with nullptr across C++ codebase
Excludes vendored C libs (zlib, Miles, DirectXMath, boost, Iggy).
This commit is contained in:
1 parent
a330ecdcbb
commit
dfb0e3b03e
752 files changed
+5396
-5396
No files matched your search
@@ -25,7 +25,7 @@ bool BaseEntityTile::triggerEvent(Level* level, int x, int y, int z, int b0,
|
||||
int b1) {
|
||||
Tile::triggerEvent(level, x, y, z, b0, b1);
|
||||
std::shared_ptr<TileEntity> te = level->getTileEntity(x, y, z);
|
||||
if (te != NULL) {
|
||||
if (te != nullptr) {
|
||||
return te->triggerEvent(b0, b1);
|
||||
}
|
||||
return false;
|
||||
|
||||
Reference in new issue
Block a user