Spawn is now based on spawn location.
This commit is contained in:
parent
20c5ce9c5c
commit
926ee37651
@ -25,8 +25,8 @@
|
|||||||
8202
|
8202
|
||||||
8198
|
8198
|
||||||
8195
|
8195
|
||||||
16662
|
278
|
||||||
8207
|
24591
|
||||||
8195
|
8195
|
||||||
8202
|
8202
|
||||||
8202
|
8202
|
||||||
|
@ -139,6 +139,10 @@ void FaceBall::LoadLevel(int level)
|
|||||||
if (id == EXIT) {
|
if (id == EXIT) {
|
||||||
exitCoords = { x,y };
|
exitCoords = { x,y };
|
||||||
}
|
}
|
||||||
|
if (id == START) {
|
||||||
|
player.UpdatePos({ x+0.5f,0.3,y+0.5f });
|
||||||
|
fYaw = (int(mapData[y][x].facingDir) - 1) * PI / 2;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
map.push_back(row);
|
map.push_back(row);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user