Login
User Name:

Password:



Register
Forgot your password?
Vote for Us!
Development
Nov 28, 2018, 10:10 am
By Keirath
First Immortal
Oct 12, 2018, 12:02 pm
By GatewaySysop
Bug in do_climb( )
Jun 5, 2018, 5:31 pm
By joeyfogas
question on overland code
May 31, 2018, 10:03 am
By joeyfogas
KaVir's Protocol Snip
May 15, 2018, 7:57 pm
By joeyfogas
tintin++ ogg sound player script for linux
Author: Robert Smith
Submitted by: Vladaar
6Dragons ogg Soundpack
Author: Vladaar
Submitted by: Vladaar
6Dragons 4.4
Author: Vladaar
Submitted by: Vladaar
LoP 1.46
Author: Remcon
Submitted by: Remcon
LOP 1.45
Author: Remcon
Submitted by: Remcon
Users Online
CommonCrawl, Bing

Members: 0
Guests: 11
Stats
Files
Topics
Posts
Members
Newest Member
481
3,740
19,397
640
KieraZajac
Today's Birthdays
There are no member birthdays today.
Related Links
» SmaugMuds.org » Bugfix Lists » SWFOTE FUSS Bugfix List » [Bug] Missile launchers don't...
Forum Rules | Mark all | Recent Posts

[Bug] Missile launchers don't destroy both sides of doors.
< Newer Topic :: Older Topic >

Pages:<< prev 1 next >>
Post is unread #1 Dec 24, 2008, 5:52 pm
Go to the top of the page
Go to the bottom of the page

Keberus
Conjurer
GroupFUSS Project Team
Posts341
JoinedJun 4, 2005

Bug: Missile launchers don't destroy both sides of doors.
Danger: Medium - Can cause players to get stuck in rooms.
Found by: Ayuri
Fixed by: Keberus

---


11.c, do_launch2

Find:
                  REMOVE_BIT( pexit->exit_info, EX_CLOSED );
                  if( IS_SET( pexit->exit_info, EX_LOCKED ) )
                     REMOVE_BIT( pexit->exit_info, EX_LOCKED );
                  SET_BIT( pexit->exit_info, EX_BASHED );


After it add:
                  EXIT_DATA *other_pexit;
                  for( other_pexit = pexit->to_room->first_exit; other_pexit; other_pexit = other_pexit->next )
                  {
                      if( other_pexit->to_room == ch->in_room )
                      {
                          REMOVE_BIT( other_pexit->exit_info, EX_CLOSED );
                          if( IS_SET( other_pexit->exit_info, EX_LOCKED ) )
                             REMOVE_BIT( other_pexit->exit_info, EX_LOCKED );
                          SET_BIT( other_pexit->exit_info, EX_BASHED );
                      }
                  }


Look for the same as above in the same function and do it again, there are two instances.

This fix will make sure that the other 'side' of the door gets it's flags set as well.
       
Pages:<< prev 1 next >>