projects
/
super-star-trek.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a2df241
)
bugfix in fry() and translation
author
Stas Sergeev
<stsp@aknet.ru>
Wed, 27 Sep 2006 16:27:49 +0000
(16:27 +0000)
committer
Stas Sergeev
<stsp@aknet.ru>
Wed, 27 Sep 2006 16:27:49 +0000
(16:27 +0000)
po/ru.po
patch
|
blob
|
history
src/battle.c
patch
|
blob
|
history
diff --git
a/po/ru.po
b/po/ru.po
index 322c85e85718abb99da83df30f7f9f1e4326faa2..add083d820fba12cd43dd43e8eb88336b784e7c0 100644
(file)
--- a/
po/ru.po
+++ b/
po/ru.po
@@
-2658,7
+2658,7
@@
msgstr "Скорость"
#: src/reports.c:309
msgid "Energy"
-msgstr ""
+msgstr "
Энергия
"
#: src/reports.c:311
msgid " (have crystals)"
diff --git
a/src/battle.c
b/src/battle.c
index ffcf55d796e325b1010ed71f979374587a987375..76bbe0c4e7d8520d15cc2abee494788a2b9f12c7 100644
(file)
--- a/
src/battle.c
+++ b/
src/battle.c
@@
-520,8
+520,8
@@
static void fry(double hit)
extradm = (hit*game.damfac)/(ncrit*(75.0+25.0*Rand()));
game.damage[j] += extradm;
if (loop1 > 0) {
- for (loop2
=2; loop2<=loop1 && j != cdam[loop2-1
]; loop2++) ;
- if (loop2
<=
loop1) continue;
+ for (loop2
= 0; loop2 < loop1 && j != cdam[loop2
]; loop2++) ;
+ if (loop2
<
loop1) continue;
ktr += 1;
if (ktr==3) skip(1);
proutn(_(" and "));