mirror of
https://github.com/tbamud/tbamud.git
synced 2026-03-26 06:06:33 +01:00
Fix look direction bugs
This commit is contained in:
parent
b8e581884b
commit
7b49ddd9d7
2 changed files with 5 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue