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:
parent
81a60b6f17
commit
ba828ee54c
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user