![](https://smaugmuds.afkmods.com/skins/default/images/icons/topic.png)
Pages:<< prev 1 next >>
![Post is unread](https://smaugmuds.afkmods.com/skins/default/images/icons/topic.png)
![This member is currently offline](https://smaugmuds.afkmods.com/skins/default/images/icons/user_offline.png)
Off the Edge of the Map
![](https://smaugmuds.afkmods.com/skins/default/images/5.png)
GroupAdministrators
Posts1,200
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 >>