(xdvisible): Add case EF_REALM. Should have been added along with
EF_REALM (file.h rev. 1.52). This made xdump leak everybody's realms.
This commit is contained in:
parent
e81ad47d81
commit
071bf4da06
1 changed files with 1 additions and 0 deletions
|
@ -206,6 +206,7 @@ xdvisible(int type, void *p)
|
||||||
|
|
||||||
switch (type) {
|
switch (type) {
|
||||||
case EF_SECTOR:
|
case EF_SECTOR:
|
||||||
|
case EF_REALM:
|
||||||
return gp->own == player->cnum || player->god;
|
return gp->own == player->cnum || player->god;
|
||||||
case EF_SHIP:
|
case EF_SHIP:
|
||||||
case EF_PLANE:
|
case EF_PLANE:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue