home · contact · privacy
Remove unused variable.
authorChristian Heller <c.heller@plomlompom.de>
Tue, 10 Mar 2015 05:01:39 +0000 (06:01 +0100)
committerChristian Heller <c.heller@plomlompom.de>
Tue, 10 Mar 2015 05:01:39 +0000 (06:01 +0100)
roguelike-server

index 0bda2ca27c897970fff4e5f2887a6966011183a5..cf836ec90b6b19f9b76aded8851cc9c3b145f1ac 100755 (executable)
@@ -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()