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

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

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