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
1 changed files with 1 additions and 1 deletions

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() {