home
·
contact
·
privacy
projects
/
plomrogue
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a94394
)
Remove unused variable.
author
Christian Heller
<c.heller@plomlompom.de>
Tue, 10 Mar 2015 05:01:39 +0000
(06:01 +0100)
committer
Christian Heller
<c.heller@plomlompom.de>
Tue, 10 Mar 2015 05:01:39 +0000
(06:01 +0100)
roguelike-server
patch
|
blob
|
history
diff --git
a/roguelike-server
b/roguelike-server
index 0bda2ca27c897970fff4e5f2887a6966011183a5..cf836ec90b6b19f9b76aded8851cc9c3b145f1ac 100755
(executable)
--- 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()