aboutsummaryrefslogtreecommitdiff
path: root/src/tile.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tile.h')
-rw-r--r--src/tile.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/tile.h b/src/tile.h
index b846b467b..2a342313d 100644
--- a/src/tile.h
+++ b/src/tile.h
@@ -192,6 +192,13 @@ public:
{
return getTexture(getTextureId(name));
}
+
+ // Gets a separate texture
+ video::ITexture* getTextureRaw(const std::string &name)
+ {
+ AtlasPointer ap = getTexture(name);
+ return ap.atlas;
+ }
private:
/*