From: Christian Heller Date: Tue, 10 Mar 2015 05:01:39 +0000 (+0100) Subject: Remove unused variable. X-Git-Url: https://plomlompom.com/repos/%22https:/validator.w3.org/%7B%7Bdb.prefix%7D%7D/tasks?a=commitdiff_plain;h=e99f6e60c1f36d5db9d5f216c1d2a9f509a62248;p=plomrogue Remove unused variable. --- 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()