From e99f6e60c1f36d5db9d5f216c1d2a9f509a62248 Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Tue, 10 Mar 2015 06:01:39 +0100 Subject: [PATCH] Remove unused variable. --- roguelike-server | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roguelike-server b/roguelike-server index 0bda2ca..cf836ec 100755 --- a/roguelike-server +++ b/roguelike-server @@ -841,6 +841,7 @@ def get_dir_to_target(t, filter): def set_cells_passable_on_memmap_to_65534_on_scoremap(): # OUTSOURCED TO libplomrogue.so: + # ord_dot = ord(".") # memmap = t["T_MEMMAP"] # for i in [i for i in range(world_db["MAP_LENGTH"] ** 2) # if ord_dot == memmap[i]]: @@ -854,7 +855,6 @@ def get_dir_to_target(t, filter): test = libpr.init_score_map() if test: raise RuntimeError("Malloc error in init_score_map().") - ord_dot = ord(".") ord_v = ord("v") ord_blank = ord(" ") set_cells_passable_on_memmap_to_65534_on_scoremap() -- 2.30.2