From c82cb693d765d228aacb5e28005f5967de821187 Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Wed, 26 Aug 2015 05:18:20 +0200 Subject: [PATCH] Fix string building bug in actor_move(). --- roguelike-server | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 + -- 2.30.2