diff options
Diffstat (limited to 'Minecraft.Client/BoatRenderer.cpp')
| -rw-r--r-- | Minecraft.Client/BoatRenderer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Minecraft.Client/BoatRenderer.cpp b/Minecraft.Client/BoatRenderer.cpp index da685681..33ffc322 100644 --- a/Minecraft.Client/BoatRenderer.cpp +++ b/Minecraft.Client/BoatRenderer.cpp @@ -14,7 +14,7 @@ void BoatRenderer::render(std::shared_ptr<Entity> _boat, double x, double y, dou { // 4J - original version used generics and thus had an input parameter of type Boat rather than std::shared_ptr<Entity> we have here - // do some casting around instead - std::shared_ptr<Boat> boat = std::dynamic_pointer_cast<Boat>(_boat); + std::shared_ptr<Boat> boat = dynamic_pointer_cast<Boat>(_boat); glPushMatrix(); |
