1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-24 17:10:36 +00:00

try to load floors

This commit is contained in:
Zeno Rogue 2018-12-12 02:51:53 +01:00
parent 2b0e154d11
commit 6274beb6f6

View File

@ -307,6 +307,7 @@ namespace mapstream {
int i = f.get<int>();
if(i == -1) break;
int j = f.get<int>(), l = f.get<int>();
if(i >= 4) i = 3;
if(i<0 || i >= mapeditor::USERSHAPEGROUPS) break;
if(l<0 || l >= USERLAYERS) break;