removed print
This commit is contained in:
parent
d36bf220bd
commit
82f0905457
@ -54,7 +54,6 @@ Cave::Cave(const char* filename) {
|
|||||||
walls = gz::util::splitStringInVector<std::string_view>(std::string_view(buf), " -> ");
|
walls = gz::util::splitStringInVector<std::string_view>(std::string_view(buf), " -> ");
|
||||||
unsigned startX = 0, startY = 0;
|
unsigned startX = 0, startY = 0;
|
||||||
unsigned endX = 0, endY = 0;
|
unsigned endX = 0, endY = 0;
|
||||||
std::cout << gz::toString(walls);
|
|
||||||
for (auto& wall : walls) {
|
for (auto& wall : walls) {
|
||||||
auto comma = wall.find(',');
|
auto comma = wall.find(',');
|
||||||
endX = gz::fromString<unsigned>(std::string(wall.substr(0, comma)));
|
endX = gz::fromString<unsigned>(std::string(wall.substr(0, comma)));
|
||||||
|
Loading…
Reference in New Issue
Block a user