mirror of
https://bitbucket.org/theswgsource/src-1.2.git
synced 2026-07-31 01:15:48 -04:00
Revert "newer standards prefer nullptr over NULL - this is most of them but there are others too"
This reverts commit 3e4cc36e7e.
This commit is contained in:
@@ -306,7 +306,7 @@ jobject JNICALL ScriptMethodsWaypointNamespace::getWaypointRegion(JNIEnv * env,
|
||||
if(w.isValid())
|
||||
{
|
||||
const Region * region = RegionMaster::getSmallestVisibleRegionAtPoint(w.getLocation().getSceneId(), w.getLocation().getCoordinates().x, w.getLocation().getCoordinates().z);
|
||||
if (region != nullptr)
|
||||
if (region != NULL)
|
||||
{
|
||||
LocalRefPtr result;
|
||||
if (ScriptConversion::convert(*region, result))
|
||||
|
||||
Reference in New Issue
Block a user