mirror of
https://git.neolegacy.dev/neoStudiosLCE/neoLegacy.git
synced 2026-12-03 06:29:05 +01:00
Banners Complete!
Fixed improper behaviors of banners to adhere to LCE, as well as redid the banner recipes!
This commit is contained in:
1 parent
f3a4f21029
commit
454da0ce3c
15 files changed
+389
-47
No files matched your search
@@ -163,13 +163,13 @@ void BannerRenderer::render(shared_ptr<TileEntity> _banner, double x, double y,
|
||||
if (!banner) return;
|
||||
|
||||
Tile *tile = banner->getTile();
|
||||
if (tile != Tile::standing_banner && tile != Tile::wall_banner) return;
|
||||
if (tile != Tile::standing_banner) return;
|
||||
const float f = 0.6666667f;
|
||||
|
||||
glDisable(GL_LIGHTING);
|
||||
glPushMatrix();
|
||||
|
||||
if (tile == Tile::standing_banner)
|
||||
if (!banner->isWall())
|
||||
{
|
||||
glTranslatef((float)x + 0.5f, (float)y + 0.75f * f, (float)z + 0.5f);
|
||||
float rot = banner->getData() * 360.0f / 16.0f;
|
||||
|
||||
Reference in new issue
Block a user