Skip to content

Commit fe9c4b1

Browse files
committed
removed warning of uninitialized variable
1 parent 8a76823 commit fe9c4b1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Map.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
#include "Map.h"
44

55
Map::Map(std::string blueprintFile) {
6+
y_tiles = 0;
7+
x_tiles = 0;
68
try {
79
std::ifstream f(blueprintFile);
810

0 commit comments

Comments
 (0)