diff options
-rw-r--r-- | lib/mods/theme/scpt/god.lua | 2 | ||||
-rw-r--r-- | lib/scpt/god.lua | 2 | ||||
-rw-r--r-- | src/q_god.c | 22 |
3 files changed, 0 insertions, 26 deletions
diff --git a/lib/mods/theme/scpt/god.lua b/lib/mods/theme/scpt/god.lua index fdb7296c..ec806c9c 100644 --- a/lib/mods/theme/scpt/god.lua +++ b/lib/mods/theme/scpt/god.lua @@ -29,8 +29,6 @@ add_quest ["god_quest.relic_generated"] = FALSE, ["god_quest.dung_x"] = 1, ["god_quest.dung_y"] = 1, - ["god_quest.player_x"] = 0, - ["god_quest.player_y"] = 0, }, ["hooks"] = { -- Start the game without the quest, given it by chance diff --git a/lib/scpt/god.lua b/lib/scpt/god.lua index ad842c44..ad199f68 100644 --- a/lib/scpt/god.lua +++ b/lib/scpt/god.lua @@ -29,8 +29,6 @@ add_quest ["god_quest.relic_generated"] = FALSE, ["god_quest.dung_x"] = 1, ["god_quest.dung_y"] = 1, - ["god_quest.player_x"] = 0, - ["god_quest.player_y"] = 0, }, ["hooks"] = { -- Start the game without the quest, given it by chance diff --git a/src/q_god.c b/src/q_god.c index 6be1e062..e2a308bc 100644 --- a/src/q_god.c +++ b/src/q_god.c @@ -174,16 +174,6 @@ static int get_relic_gen_tries() return get_lua_int("god_quest.relic_gen_tries"); } -static void set_player_y(int y) -{ - exec_lua(format("god_quest.player_y = %d", y)); -} - -static void set_player_x(int x) -{ - exec_lua(format("god_quest.player_x = %d", x)); -} - static int get_dun_mindepth() { return get_lua_int("god_quest.dun_mindepth"); @@ -1058,18 +1048,6 @@ void quest_god_player_level_hook(int gained) /* actually place the dungeon in a random place */ quest_god_place_rand_dung(); - /* store the variables of the coords where the player was given the quest */ - if (p_ptr->wild_mode) - { - set_player_x(p_ptr->px); - set_player_y(p_ptr->py); - } - else - { - set_player_x(p_ptr->wilderness_x); - set_player_y(p_ptr->wilderness_y); - } - /* God issues instructions */ cmsg_format(TERM_L_BLUE, "The voice of %s booms in your head:", deity_info[p_ptr->pgod].name); |