1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-23 21:07:17 +00:00

fixed a potential crash in clearshadow()

This commit is contained in:
Zeno Rogue 2020-05-15 11:47:14 +02:00
parent 81a60b6f17
commit ba828ee54c

View File

@ -1411,7 +1411,7 @@ EX cell *lastmountpos[MAXPLAYER];
EX void clearshadow() {
shpos.resize(SHSIZE);
for(int i=0; i<SHSIZE; i++) for(int p=0; p<MAXPLAYER; p++)
shpos[p][i] = NULL;
shpos[i][p] = NULL;
}
EX void moveshadow() {