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:
bfff0b6
)
Fix string building bug in actor_move().
author
Christian Heller
<c.heller@plomlompom.de>
Wed, 26 Aug 2015 03:18:20 +0000
(
05:18
+0200)
committer
Christian Heller
<c.heller@plomlompom.de>
Wed, 26 Aug 2015 03:18:20 +0000
(
05:18
+0200)
roguelike-server
patch
|
blob
|
history
diff --git
a/roguelike-server
b/roguelike-server
index adba9bcd586d5873ecd4ed8c2bfec32682401604..344f5a5618f59f80ae521404587334a467dbca38 100755
(executable)
--- 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 +