From: Christian Heller Date: Fri, 6 Mar 2015 19:35:50 +0000 (+0100) Subject: Server/py: Remove uncommented code. X-Git-Tag: tce~403 X-Git-Url: https://plomlompom.com/repos/%7B%7B%20web_path%20%7D%7D/%7B%7Bdb.prefix%7D%7D/static/do_todos?a=commitdiff_plain;h=af771d2bfa69878c668f5dfb8bbebfc733c34c18;p=plomrogue Server/py: Remove uncommented code. --- diff --git a/plomrogue-server.py b/plomrogue-server.py index 8167000..0c171d9 100755 --- a/plomrogue-server.py +++ b/plomrogue-server.py @@ -585,11 +585,7 @@ def actor_wait(t): def actor_move(t): """If passable, move/collide(=attack) thing into T_ARGUMENT's direction.""" - # dir_c = t["T_ARGUMENT"].encode("ascii")[0] - # legal_move = libpr.mv_yx_in_dir_legal_wrap(dir_c, t["T_POSY"], t["T_POSX"]) passable = False - # if -1 == legal_move: - # raise SystemExit("Too much wrapping in mv_yx_in_dir_legal_wrap()!") move_result = mv_yx_in_dir_legal(t["T_ARGUMENT"], t["T_POSY"], t["T_POSX"]) if 1 == move_result[0]: pos = (move_result[1] * world_db["MAP_LENGTH"]) + move_result[2]