diff options
Diffstat (limited to 'src/graphics/engine/terrain.h')
-rw-r--r-- | src/graphics/engine/terrain.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/graphics/engine/terrain.h b/src/graphics/engine/terrain.h index 24bd1f9..0c3fa63 100644 --- a/src/graphics/engine/terrain.h +++ b/src/graphics/engine/terrain.h @@ -157,7 +157,7 @@ public: //! Empties level void LevelFlush(); //! Initializes the names of textures to use for the land - void LevelMaterial(int id, std::string& baseName, float u, float v, int up, int right, int down, int left, float hardness); + void LevelMaterial(int id, const std::string& baseName, float u, float v, int up, int right, int down, int left, float hardness); //! Initializes all the ground with a material bool LevelInit(int id); //! Generates a level in the terrain |