mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-02-06 06:00:10 +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() {
|
EX void clearshadow() {
|
||||||
shpos.resize(SHSIZE);
|
shpos.resize(SHSIZE);
|
||||||
for(int i=0; i<SHSIZE; i++) for(int p=0; p<MAXPLAYER; p++)
|
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() {
|
EX void moveshadow() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user