Fix look direction bugs

This commit is contained in:
kinther 2025-12-30 12:30:25 -08:00
parent b8e581884b
commit 7b49ddd9d7
2 changed files with 5 additions and 2 deletions

View file

@ -81,6 +81,7 @@ Features to be implemented in the next few releases:
* New elemental classes
* Introduction of gathering mana/magic for sorceror class
* Highly modified magic system
* Ranged weapons and ammo
* Components for some magical spells
* Reading/writing limited to specific castes of society
* Haggling and bartering system

View file

@ -900,7 +900,6 @@ static void look_in_direction(struct char_data *ch, int dir)
int distance;
bool blocked = FALSE;
send_to_char(ch, ">look %s\r\n\r\n", dirs[dir]);
send_to_char(ch, "You look to the %s and see:\r\n", dirs[dir]);
for (distance = 0; distance < 3; distance++) {
@ -987,7 +986,10 @@ static bool look_list_direction_chars(struct char_data *ch, room_rnum room)
}
if (CAN_SEE(ch, tch)) {
send_to_char(ch, "%s\r\n", get_char_sdesc(tch));
char ldesc[MAX_STRING_LENGTH];
build_current_ldesc(tch, ldesc, sizeof(ldesc));
send_to_char(ch, "%s\r\n", ldesc);
found = TRUE;
}
}