OSDN Git Service

cmd4.cの auto_dump のコードを整理、コメント付加。Sangbandへの移植作業
[hengband/hengband.git] / src / wizard1.c
index 046d1ca..f379587 100644 (file)
@@ -2129,10 +2129,6 @@ void do_cmd_spoilers(void)
        screen_save();
 
 
-       /* Drop priv's */
-       safe_setuid_drop();
-
-
        /* Interact */
        while (1)
        {
@@ -2200,10 +2196,6 @@ prt("
        }
 
 
-       /* Grab priv's */
-       safe_setuid_grab();
-
-
        /* Restore the screen */
        screen_load();
 }
@@ -2325,9 +2317,6 @@ void spoil_random_artifact(cptr fname)
        char buf[1024];
 
 
-       /* Drop priv's */
-       safe_setuid_drop();
-
        /* Build the filename */
        path_build(buf, sizeof(buf), ANGBAND_DIR_USER, fname);
 
@@ -2389,9 +2378,6 @@ void spoil_random_artifact(cptr fname)
                return;
        }
 
-       /* Grab priv's */
-       safe_setuid_grab();
-
        /* Message */
        msg_print("Successfully created a list file.");
 }