Skip to content
Snippets Groups Projects
Commit 65921c17 authored by James R.'s avatar James R.
Browse files

Improve COM_AddCommand boolean deprecated warning

parent 802ef0ab
Branches
Tags
2 merge requests!718Rename R_IsPointInSubsector to R_PointInSubsectorOrNull/Nil,!602Local Lua commands + no magic numbers
......@@ -191,8 +191,9 @@ static int lib_comAddCommand(lua_State *L)
if (lua_type(L, 3) == LUA_TBOOLEAN)
{
CONS_Alert(CONS_WARNING,
"Using a boolean is deprecated and will be removed.\n"
"Use \"COM_\" flags instead.\n"
"Using a boolean for admin commands is "
"deprecated and will be removed.\n"
"Use \"COM_ADMIN\" instead.\n"
);
}
else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment