1
0
mirror of https://github.com/moparisthebest/minetest synced 2024-11-18 07:15:07 -05:00

Mark ObjectRef::get_entity_name() deprecated

This commit is contained in:
Perttu Ahola 2012-01-02 17:33:03 +02:00
parent ab57fbe4ca
commit e82a76e438
2 changed files with 2 additions and 1 deletions

View File

@ -210,7 +210,7 @@
-- - select_horiz_by_yawpitch=false) -- - select_horiz_by_yawpitch=false)
-- - ^ Select sprite from spritesheet with optional animation and DM-style -- - ^ Select sprite from spritesheet with optional animation and DM-style
-- - texture selection based on yaw relative to camera -- - texture selection based on yaw relative to camera
-- - get_entity_name() -- - get_entity_name() (DEPRECATED: Will be removed in a future version)
-- - get_luaentity() -- - get_luaentity()
-- Player-only: (no-op for other objects) -- Player-only: (no-op for other objects)
-- - get_player_name(): will return nil if is not a player -- - get_player_name(): will return nil if is not a player

View File

@ -2026,6 +2026,7 @@ private:
return 0; return 0;
} }
// DEPRECATED
// get_entity_name(self) // get_entity_name(self)
static int l_get_entity_name(lua_State *L) static int l_get_entity_name(lua_State *L)
{ {