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

fixed a crash bug when displaying Reptiles

This commit is contained in:
Zeno Rogue 2018-08-31 04:18:58 +02:00
parent 5dea01b934
commit c1cdd74dd2

View File

@ -2614,7 +2614,7 @@ int reptilecolor(cell *c) {
if(archimedean) if(archimedean)
i = c->master->rval0 & 3; i = c->master->rval0 & 3;
else { else {
int i = zebra40(c); i = zebra40(c);
if(!masterless) { if(!masterless) {
if(i >= 4 && i < 16) i = 0; if(i >= 4 && i < 16) i = 0;