mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-06-24 01:45:33 +00:00
refactor: replace NULL with nullptr across C++ codebase
Excludes vendored C libs (zlib, Miles, DirectXMath, boost, Iggy).
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
#include "../../../Minecraft.World/Util/StringHelpers.h"
|
||||
|
||||
DefaultTexturePack::DefaultTexturePack()
|
||||
: AbstractTexturePack(0, NULL, L"Minecraft", NULL) {
|
||||
: AbstractTexturePack(0, nullptr, L"Minecraft", nullptr) {
|
||||
// 4J Stu - These calls need to be in the most derived version of the class
|
||||
loadIcon();
|
||||
loadName(); // 4J-PB - added so the PS3 can have localised texture names'
|
||||
@@ -41,7 +41,7 @@ InputStream* DefaultTexturePack::getResourceImplementation(
|
||||
|
||||
InputStream* resource = InputStream::getResourceAsStream(wDrive + name);
|
||||
// InputStream *stream =
|
||||
// DefaultTexturePack::class->getResourceAsStream(name); if (stream == NULL)
|
||||
// DefaultTexturePack::class->getResourceAsStream(name); if (stream == nullptr)
|
||||
//{
|
||||
// throw new FileNotFoundException(name);
|
||||
// }
|
||||
|
||||
Reference in New Issue
Block a user