1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-08-28 00:12:18 +00:00

rogueviz::fifteen:: fixed out of bounds array access

This commit is contained in:
Zeno Rogue 2025-06-25 13:36:40 +02:00
parent 4934408703
commit 15d0e6e692

View File

@ -93,9 +93,10 @@ void compute_triangle_markers() {
println(hlog, triangle_markers);
for(int i=0; i<isize(fif); i++) {
for(int i=0; i<isize(fif)-1; i++) {
turns.push_back(triangle_markers[i+1] == 0 ? 90._deg : 0);
}
turns.push_back(0);
}
string dotted(int i) {