1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/games/krogue/files/patch-ad
Chris D. Faulhaber 833a143561 Nice KDE reimplementation of the /usr/games/rogue classic
PR:		15803
Submitted by:	Will Andrews <andrews@technologist.com>
2000-02-23 00:55:11 +00:00

34 lines
1.0 KiB
Plaintext

--- krogue/rogue/move.c Sun Oct 24 13:30:32 1999
+++ krogue/rogue/move.c.new Sun Nov 21 23:03:50 1999
@@ -15,7 +15,7 @@
short m_moves = 0;
boolean jump = 1;
-char *you_can_move_again = _T("you can move again");
+char *you_can_move_again = msgQuote("you can move again");
extern short cur_room, halluc, blind, levitate;
extern short cur_level, max_level;
@@ -324,18 +324,18 @@
boolean fainted = 0;
if (rogue.moves_left == HUNGRY) {
- (void) strcpy(hunger_str, _T("hungry"));
+ (void) strcpy(hunger_str, msgQuote("hungry"));
message(transl(hunger_str), 0);
print_stats(STAT_HUNGER);
}
if (rogue.moves_left == WEAK) {
- (void) strcpy(hunger_str, _T("weak"));
+ (void) strcpy(hunger_str, msgQuote("weak"));
message(transl(hunger_str), 1);
print_stats(STAT_HUNGER);
}
if (rogue.moves_left <= FAINT) {
if (rogue.moves_left == FAINT) {
- (void) strcpy(hunger_str, _T("faint"));
+ (void) strcpy(hunger_str, msgQuote("faint"));
message(transl(hunger_str), 1);
print_stats(STAT_HUNGER);
}