From 07b41b8fbdfbe03791774bfcc0b4fefb1cc2b4d3 Mon Sep 17 00:00:00 2001
From: Christian Heller <c.heller@plomlompom.de>
Date: Tue, 10 Mar 2015 04:23:52 +0100
Subject: [PATCH] Undo debugging refactoring.

---
 roguelike-server | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/roguelike-server b/roguelike-server
index ea5b40a..ce44fa2 100755
--- a/roguelike-server
+++ b/roguelike-server
@@ -929,9 +929,6 @@ def get_dir_to_target(t, filter):
             dir_to_target = 0
         return dir_to_target
 
-    def FOO():
-        libpr.dijkstra_map()
-
     dir_to_target = False
     mem_depth_c = b' '
     run_i = 9 + 1 if "s" == filter else 1
@@ -940,7 +937,7 @@ def get_dir_to_target(t, filter):
         init_score_map()
         mem_depth_c = b'9' if b' ' == mem_depth_c \
                            else bytes([mem_depth_c[0] - 1])
-        if FOO(): # libpr.dijkstra_map():
+        if libpr.dijkstra_map():
             raise RuntimeError("No score map allocated for dijkstra_map().")
         dir_to_target = get_dir_from_neighbors()
         libpr.free_score_map()
-- 
2.30.2