aboutsummaryrefslogtreecommitdiff
path: root/src/universe.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/universe.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/universe.cpp b/src/universe.cpp
index a31189c..d04a2f8 100644
--- a/src/universe.cpp
+++ b/src/universe.cpp
@@ -68,7 +68,7 @@ Universe* universe_get( lua_State* L)
68 STACK_GROW( L, 2); 68 STACK_GROW( L, 2);
69 STACK_CHECK( L, 0); 69 STACK_CHECK( L, 0);
70 REGISTRY_GET( L, UNIVERSE_REGKEY); 70 REGISTRY_GET( L, UNIVERSE_REGKEY);
71 universe = (Universe*) lua_touserdata( L, -1); // NULL if nil 71 universe = (Universe*) lua_touserdata( L, -1); // nullptr if nil
72 lua_pop( L, 1); 72 lua_pop( L, 1);
73 STACK_END( L, 0); 73 STACK_END( L, 0);
74 return universe; 74 return universe;