From: Christian Heller Date: Wed, 26 Aug 2015 03:18:20 +0000 (+0200) Subject: Fix string building bug in actor_move(). X-Git-Tag: tce~315 X-Git-Url: https://plomlompom.com/repos/%22https:/validator.w3.org/test?a=commitdiff_plain;h=c82cb693d765d228aacb5e28005f5967de821187;p=plomrogue Fix string building bug in actor_move(). --- diff --git a/roguelike-server b/roguelike-server index adba9bc..344f5a5 100755 --- a/roguelike-server +++ b/roguelike-server @@ -625,8 +625,8 @@ def actor_move(t): if t == world_db["Things"][0]: hitted_type = world_db["Things"][hit_id]["T_TYPE"] hitted_name = world_db["ThingTypes"][hitted_type]["TT_NAME"] - strong_write(io_db["file_out"], "LOG You wound " + hitted + - ".\n") + strong_write(io_db["file_out"], "LOG You wound " + + hitted_name + ".\n") elif 0 == hit_id: hitter_name = world_db["ThingTypes"][t["T_TYPE"]]["TT_NAME"] strong_write(io_db["file_out"], "LOG " + hitter_name +