Revert "Project modernization (#630)"
This code was not tested and breaks in Release builds, reverting to restore
functionality of the nightly. All in-game menus do not work and generating
a world crashes.
This reverts commit a9be52c41a.
This commit is contained in:
@@ -7,7 +7,7 @@ ResourceLocation BatRenderer::BAT_LOCATION = ResourceLocation(TN_MOB_BAT);
|
||||
|
||||
BatRenderer::BatRenderer() : MobRenderer(new BatModel(), 0.25f)
|
||||
{
|
||||
modelVersion = static_cast<BatModel *>(model)->modelVersion();
|
||||
modelVersion = ((BatModel *)model)->modelVersion();
|
||||
}
|
||||
|
||||
void BatRenderer::render(shared_ptr<Entity> _mob, double x, double y, double z, float rot, float a)
|
||||
|
||||
Reference in New Issue
Block a user