From 071bf4da066caefff313912ce66c7d4f05f30048 Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Sun, 23 Apr 2006 12:33:33 +0000 Subject: [PATCH] (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. --- src/lib/commands/xdump.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/commands/xdump.c b/src/lib/commands/xdump.c index fba22a97..199e99e4 100644 --- a/src/lib/commands/xdump.c +++ b/src/lib/commands/xdump.c @@ -206,6 +206,7 @@ xdvisible(int type, void *p) switch (type) { case EF_SECTOR: + case EF_REALM: return gp->own == player->cnum || player->god; case EF_SHIP: case EF_PLANE: