mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-09-26 10:31:04 +00:00
refactor: unglob std::dynamic_pointer_cast
This commit is contained in:
@@ -14,7 +14,7 @@ PaintingRenderer::PaintingRenderer()
|
||||
void PaintingRenderer::render(std::shared_ptr<Entity> _painting, double x, double y, double z, float rot, float a)
|
||||
{
|
||||
// 4J - dynamic cast required because we aren't using templates/generics in our version
|
||||
std::shared_ptr<Painting> painting = dynamic_pointer_cast<Painting>(_painting);
|
||||
std::shared_ptr<Painting> painting = std::dynamic_pointer_cast<Painting>(_painting);
|
||||
|
||||
random->setSeed(187);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user