View Single Post
  #1  
Old 06-25-2012, 05:08 AM
Uleat's Avatar
Uleat
Developer
 
Join Date: Apr 2012
Location: North Carolina
Posts: 2,815
Default Fix for Vergalid Mines Lift

With the rev. 2153 'doorsupdate.patch' applied, this should fix the player.pl code for the lift.

Code:
sub EVENT_CLICKDOOR
{
	my $tds = quest::isdooropen(41);
	my $bds = quest::isdooropen(42);

	if(($doorid == 41 && !$tds) || ($doorid == 42 && !$bds))
	{
		quest::toggledoorstate(38);
		quest::toggledoorstate(39);
		quest::toggledoorstate(40);
	}
}

U
__________________
Uleat of Bertoxxulous

Compilin' Dirty
Reply With Quote