From 5ddb64795cc959916eeedbec8dc3f65c06f49698 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Thu, 12 Nov 2009 20:53:35 +0000 Subject: initial commodities and entity inventory, bump network proto version to 18 --- src/auxiliary/functions.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/auxiliary') diff --git a/src/auxiliary/functions.cc b/src/auxiliary/functions.cc index 5dbc012..668c108 100644 --- a/src/auxiliary/functions.cc +++ b/src/auxiliary/functions.cc @@ -159,6 +159,8 @@ void to_label(std::string &text) pos++; } else if ((text[pos] >= '0') && (text[pos] <= '9')) { pos++; + } else if (text[pos] == '/') { + pos++; } else { text.erase(pos, 1); } -- cgit v1.2.3