aboutsummaryrefslogtreecommitdiff
path: root/src/universe.cpp
diff options
context:
space:
mode:
authorBenoit Germain <benoit.germain@ubisoft.com>2024-03-19 15:40:09 +0100
committerBenoit Germain <benoit.germain@ubisoft.com>2024-03-19 15:57:52 +0100
commitbade6ae30109f88d4892624a01bb19e794c15c1b (patch)
tree649063c479e168bc49f197beec1e2e40bf5ec24e /src/universe.cpp
parent930bfb287de0a38746493463016d0e4cea153ac0 (diff)
downloadlanes-bade6ae30109f88d4892624a01bb19e794c15c1b.tar.gz
lanes-bade6ae30109f88d4892624a01bb19e794c15c1b.tar.bz2
lanes-bade6ae30109f88d4892624a01bb19e794c15c1b.zip
C++ migration: NULL → nullptr
Diffstat (limited to 'src/universe.cpp')
-rw-r--r--src/universe.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/universe.cpp b/src/universe.cpp
index 0a014f7..d5cc9e2 100644
--- a/src/universe.cpp
+++ b/src/universe.cpp
@@ -56,7 +56,7 @@ Universe* universe_create( lua_State* L)
56void universe_store( lua_State* L, Universe* U) 56void universe_store( lua_State* L, Universe* U)
57{ 57{
58 STACK_CHECK( L, 0); 58 STACK_CHECK( L, 0);
59 REGISTRY_SET( L, UNIVERSE_REGKEY, (NULL != U) ? lua_pushlightuserdata( L, U) : lua_pushnil( L)); 59 REGISTRY_SET( L, UNIVERSE_REGKEY, (nullptr != U) ? lua_pushlightuserdata( L, U) : lua_pushnil( L));
60 STACK_END( L, 0); 60 STACK_END( L, 0);
61} 61}
62 62