Bug: Explosion messages are sent twice to everyone in the room
Danger: Trivial - Duplicated display.
Found by: Keberus
Fixed by: Keberus
---
handler.c, room_explode_1
Locate:
echo_to_room( AT_WHITE, room, "The shockwave from a massive explosion rips through your body!" );
for( rch = room->first_person; rch; rch = rnext )
{
rnext = rch->next_in_room;
act( AT_WHITE, "The shockwave from a massive explosion rips through your body!", rch, obj, NULL, TO_CHAR );
dam = number_range( obj->value[0], obj->value[1] );
Change to:
for( rch = room->first_person; rch; rch = rnext )
{
rnext = rch->next_in_room;
act( AT_WHITE, "The shockwave from a massive explosion rips through your body!", rch, obj, NULL, TO_CHAR );
dam = number_range( obj->value[0], obj->value[1] );
The for loop already delivers the message to everyone in the room at the time of the explosion. There was no need for the echo_to_room call to exist.