mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-05-30 14:36:48 +00:00
refactor: unglob std::dynamic_pointer_cast
This commit is contained in:
@@ -26,7 +26,7 @@ AddGlobalEntityPacket::AddGlobalEntityPacket(std::shared_ptr<Entity> e)
|
||||
x = Mth::floor(e->x * 32);
|
||||
y = Mth::floor(e->y * 32);
|
||||
z = Mth::floor(e->z * 32);
|
||||
if (dynamic_pointer_cast<LightningBolt>(e) != NULL)
|
||||
if (std::dynamic_pointer_cast<LightningBolt>(e) != NULL)
|
||||
{
|
||||
this->type = LIGHTNING;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user