From 5fa4fed09731fa869cfcee5c15e53d9fbdedc28b Mon Sep 17 00:00:00 2001 From: Kevin Ott Date: Sun, 3 May 2015 22:32:29 -0400 Subject: Add a check for animation when getting an extruded mesh Fixes issue #2667 --- src/wieldmesh.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/wieldmesh.h') diff --git a/src/wieldmesh.h b/src/wieldmesh.h index b7739f18c..933b53763 100644 --- a/src/wieldmesh.h +++ b/src/wieldmesh.h @@ -41,7 +41,7 @@ public: void setCube(const TileSpec tiles[6], v3f wield_scale, ITextureSource *tsrc); void setExtruded(const std::string &imagename, - v3f wield_scale, ITextureSource *tsrc); + v3f wield_scale, ITextureSource *tsrc, u8 num_frames); void setItem(const ItemStack &item, IGameDef *gamedef); // Sets the vertex color of the wield mesh. -- cgit v1.2.3