From fe58648dcf75e71304ed9f1a674640f203b57bba Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Wed, 26 Aug 2015 04:37:28 +0200 Subject: [PATCH] Remove unused variable. --- roguelike-server | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roguelike-server b/roguelike-server index 86ea463..c9d8728 100755 --- a/roguelike-server +++ b/roguelike-server @@ -838,6 +838,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]]: @@ -851,7 +852,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