aboutsummaryrefslogtreecommitdiff
path: root/src/tile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tile.cpp')
-rw-r--r--src/tile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tile.cpp b/src/tile.cpp
index e7e37a4fe..b20aec54a 100644
--- a/src/tile.cpp
+++ b/src/tile.cpp
@@ -1380,7 +1380,7 @@ bool TextureSource::generateImagePart(std::string part_of_name,
return false;
}
- str_replace_char(part_of_name, '&', '^');
+ str_replace(part_of_name, '&', '^');
Strfnd sf(part_of_name);
sf.next("{");
std::string imagename_top = sf.next("{");