From: Christian Heller Date: Wed, 26 Aug 2015 02:37:28 +0000 (+0200) Subject: Remove unused variable. X-Git-Tag: tce~321 X-Git-Url: https://plomlompom.com/repos/%7B%7Bprefix%7D%7D/%22https:/validator.w3.org/ledger?a=commitdiff_plain;h=fe58648dcf75e71304ed9f1a674640f203b57bba;p=plomrogue Remove unused variable. --- 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()