summaryrefslogtreecommitdiff
path: root/src/wieldmesh.h
diff options
context:
space:
mode:
authorKevin Ott <supercodingmonkey@gmail.com>2015-05-03 22:32:29 -0400
committerkwolekr <kwolekr@minetest.net>2015-05-04 02:11:36 -0400
commit5fa4fed09731fa869cfcee5c15e53d9fbdedc28b (patch)
tree69e9d1e8be714daa3710371caf392fc0b83a850d /src/wieldmesh.h
parent9af7f38e3f077ec42fcc3086c82d2676c53c84a6 (diff)
downloadminetest-5fa4fed09731fa869cfcee5c15e53d9fbdedc28b.tar.gz
minetest-5fa4fed09731fa869cfcee5c15e53d9fbdedc28b.tar.bz2
minetest-5fa4fed09731fa869cfcee5c15e53d9fbdedc28b.zip
Add a check for animation when getting an extruded mesh
Fixes issue #2667
Diffstat (limited to 'src/wieldmesh.h')
-rw-r--r--src/wieldmesh.h2
1 files changed, 1 insertions, 1 deletions
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.