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
@@ -52,7 +52,7 @@ void RemotePlayer::tick() {
|
||||
walkAnimPos += walkAnimSpeed;
|
||||
|
||||
if (!hasStartedUsingItem && isUsingItemFlag() &&
|
||||
inventory->items[inventory->selected] != NULL) {
|
||||
inventory->items[inventory->selected] != nullptr) {
|
||||
std::shared_ptr<ItemInstance> item =
|
||||
inventory->items[inventory->selected];
|
||||
startUsingItem(inventory->items[inventory->selected],
|
||||
|
||||
Reference in new issue
Block a user