diff --git a/metamod/src/mreg.cpp b/metamod/src/mreg.cpp index 1976993..39f2236 100644 --- a/metamod/src/mreg.cpp +++ b/metamod/src/mreg.cpp @@ -191,7 +191,7 @@ MRegCvar* MRegCvarList::find(const char* findname) return reg; } - return NULL; + return nullptr; } // Disable any cvars belonging to the given plugin (by index id). diff --git a/metamod/src/studioapi.cpp b/metamod/src/studioapi.cpp index ac77441..bf93bad 100644 --- a/metamod/src/studioapi.cpp +++ b/metamod/src/studioapi.cpp @@ -20,7 +20,7 @@ C_DLLEXPORT int Server_GetBlendingInterface(int version, float (*rotationmatrix)[3][4], float (*bonetransform)[MAXSTUDIOBONES][3][4]) { - static GETBLENDAPI_FN getblend = NULL; + static GETBLENDAPI_FN getblend = nullptr; static int missing = 0; // Note that we're not checking if