
Pages:<< prev 1 next >>


Off the Edge of the Map

GroupAdministrators
Posts1,199
JoinedMar 21, 2006
Bug: Launchship sending message to wrong room.
Danger: Minor - Launchship tries to send messages to wrong/NULL rooms.
Found by: Banner
Fixed by: Banner
---
space.c, launchship
Locate:
Replace with:
Location is set to 0 at the top of the function. So sending it to ship->location is a null room. It should be sending it to the pilot of the ship anyway.
Danger: Minor - Launchship tries to send messages to wrong/NULL rooms.
Found by: Banner
Fixed by: Banner
---
space.c, launchship
Locate:
echo_to_room( AT_GREEN, get_room_index( ship->location ), "Launch complete.\r\n" );
Replace with:
echo_to_room( AT_GREEN, get_room_index( ship->pilotseat ), "Launch complete.\r\n" );
Location is set to 0 at the top of the function. So sending it to ship->location is a null room. It should be sending it to the pilot of the ship anyway.
Pages:<< prev 1 next >>