aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/WeighedRandom.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Minecraft.World/WeighedRandom.cpp')
-rw-r--r--Minecraft.World/WeighedRandom.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Minecraft.World/WeighedRandom.cpp b/Minecraft.World/WeighedRandom.cpp
index 777ab92f..0c27bf32 100644
--- a/Minecraft.World/WeighedRandom.cpp
+++ b/Minecraft.World/WeighedRandom.cpp
@@ -28,7 +28,7 @@ WeighedRandomItem *WeighedRandom::getRandomItem(Random *random, vector<WeighedRa
return item;
}
}
- return nullptr;
+ return NULL;
}
WeighedRandomItem *WeighedRandom::getRandomItem(Random *random, vector<WeighedRandomItem *> *items)
@@ -62,7 +62,7 @@ WeighedRandomItem *WeighedRandom::getRandomItem(Random *random, WeighedRandomIte
return items[i];
}
}
- return nullptr;
+ return NULL;
}