mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-05-17 11:03:52 +00:00
Revert "dynamic_pointer_cast -> std::dynamic_pointer_cast"
This reverts commit 07ad68bc15.
This commit is contained in:
parent
07ad68bc15
commit
7ae0c13854
207 changed files with 623 additions and 623 deletions
|
|
@ -10,7 +10,7 @@ PigRenderer::PigRenderer(Model *model, Model *armor, float shadow) : MobRenderer
|
|||
int PigRenderer::prepareArmor(std::shared_ptr<Mob> _pig, int layer, float a)
|
||||
{
|
||||
// 4J - dynamic cast required because we aren't using templates/generics in our version
|
||||
std::shared_ptr<Pig> pig = std::dynamic_pointer_cast<Pig>(_pig);
|
||||
std::shared_ptr<Pig> pig = dynamic_pointer_cast<Pig>(_pig);
|
||||
|
||||
MemSect(31);
|
||||
bindTexture(TN_MOB_SADDLE); // 4J was L"/mob/saddle.png"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue