Login
User Name:

Password:



Register

Forgot your password?
Changes list / Addchange
Author: Khonsu
Submitted by: Khonsu
6Dragons mp3 sound pack
Author: Vladaar
Submitted by: Vladaar
AFKMud 2.2.3
Author: AFKMud Team
Submitted by: Samson
SWFOTEFUSS 1.5
Author: Various
Submitted by: Samson
SWRFUSS 1.4
Author: Various
Submitted by: Samson
Users Online
There are currently no members online.

Members: 0
Guests: 26
Stats
Files
Topics
Posts
Members
Newest Member
488
3,788
19,631
595
Khonsu

Today's Birthdays
There are no member birthdays today.
» SmaugMuds » Bugfix Lists » SWR FUSS Bugfix List » [Bug] Launchship sending mess...
Forum Rules | Mark all | Recent Posts

[Bug] Launchship sending messages to wrong/NULL rooms.
< Newer Topic :: Older Topic >

Pages:<< prev 1 next >>
Post is unread #1 Jul 3, 2009 12:41 am   
Go to the top of the page
Go to the bottom of the page

InfiniteAxis
Off the Edge of the Map
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:
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 >>