mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-27 17:28:41 +00:00
Replace object visual by enum (#15681)
This commit is contained in:
parent
63701de45f
commit
18ac8b20fa
5 changed files with 86 additions and 29 deletions
|
@ -26,7 +26,7 @@ PlayerSAO::PlayerSAO(ServerEnvironment *env_, RemotePlayer *player_, session_t p
|
|||
m_prop.selectionbox = aabb3f(-0.3f, 0.0f, -0.3f, 0.3f, 1.77f, 0.3f);
|
||||
m_prop.pointable = PointabilityType::POINTABLE;
|
||||
// Start of default appearance, this should be overwritten by Lua
|
||||
m_prop.visual = "upright_sprite";
|
||||
m_prop.visual = OBJECTVISUAL_UPRIGHT_SPRITE;
|
||||
m_prop.visual_size = v3f(1, 2, 1);
|
||||
m_prop.textures.clear();
|
||||
m_prop.textures.emplace_back("player.png");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue