home · contact · privacy
Fix another actor_move string building bug.
authorChristian Heller <c.heller@plomlompom.de>
Tue, 10 Mar 2015 19:03:05 +0000 (20:03 +0100)
committerChristian Heller <c.heller@plomlompom.de>
Tue, 10 Mar 2015 19:03:05 +0000 (20:03 +0100)
roguelike-server

index 0a44ee61a17af99ab597642ecb467a6ffbbe875b..fcdf0ff7da59af8545bb421d2ed015e7ffbb0779 100755 (executable)
@@ -632,7 +632,7 @@ def actor_move(t):
                                                 ".\n")
             elif 0 == hit_id:
                 hitter_name = world_db["ThingTypes"][t["T_TYPE"]]["TT_NAME"]
-                strong_write(io_db["file_out"], "LOG " + hitter +
+                strong_write(io_db["file_out"], "LOG " + hitter_name +
                                                 " wounds you.\n")
             decrement_lifepoints(world_db["Things"][hit_id])
             return