forked from rosebudai/OpenRCT2-Web
Use nullptr where possible
This commit is contained in:
1 parent
56ab7e9c09
commit
b2bc974fe7
110 files changed
+2602
-2602
No files matched your search
@@ -136,7 +136,7 @@ sint32 find_object_in_entry_group(const rct_object_entry* entry, uint8* entry_ty
|
||||
entry_group.chunks++,
|
||||
entry_group.entries++){
|
||||
|
||||
if (*entry_group.chunks == NULL) continue;
|
||||
if (*entry_group.chunks == nullptr) continue;
|
||||
|
||||
if (object_entry_compare((rct_object_entry*)entry_group.entries, entry))break;
|
||||
}
|
||||
@@ -158,8 +158,8 @@ void get_type_entry_index(size_t index, uint8 * outObjectType, uint8 * outEntryI
|
||||
}
|
||||
}
|
||||
|
||||
if (outObjectType != NULL) *outObjectType = objectType;
|
||||
if (outEntryIndex != NULL) *outEntryIndex = (uint8)index;
|
||||
if (outObjectType != nullptr) *outObjectType = objectType;
|
||||
if (outEntryIndex != nullptr) *outEntryIndex = (uint8)index;
|
||||
}
|
||||
|
||||
const rct_object_entry * get_loaded_object_entry(size_t index)
|
||||
|
||||
Reference in new issue
Block a user