mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-24 17:10:36 +00:00
fixed a possible crash in hybrid
This commit is contained in:
parent
96224b5c44
commit
e8de4d088c
@ -1081,7 +1081,7 @@ EX namespace hybrid {
|
||||
cell *c1 = hybrid::get_where(c).first;
|
||||
wo = isize(cgi.shWall3D);
|
||||
int won = wo + c->type;
|
||||
cgi.wallstart.pop_back();
|
||||
if(!cgi.wallstart.empty()) cgi.wallstart.pop_back();
|
||||
cgi.reserve_wall3d(won);
|
||||
|
||||
if(prod) for(int i=0; i<c1->type; i++) {
|
||||
|
Loading…
Reference in New Issue
Block a user