dynamic_pointer_cast -> std::dynamic_pointer_cast
This commit is contained in:
@@ -45,7 +45,7 @@ void SheepFurModel::prepareMobModel(std::shared_ptr<Mob> mob, float time, float
|
||||
{
|
||||
QuadrupedModel::prepareMobModel(mob, time, r, a);
|
||||
|
||||
std::shared_ptr<Sheep> sheep = dynamic_pointer_cast<Sheep>(mob);
|
||||
std::shared_ptr<Sheep> sheep = std::dynamic_pointer_cast<Sheep>(mob);
|
||||
head->y = 6 + sheep->getHeadEatPositionScale(a) * 9.0f;
|
||||
headXRot = sheep->getHeadEatAngleScale(a);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user