mirror of
https://github.com/1dot13/source.git
synced 2026-07-29 13:52:17 +02:00
- Bugfix: Skyrider stuck in sector (Bugzilla #562)
o I reverted the changes from revision 4724 and hopefully this fixes the "skyrider stuck in sector" bug git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@5499 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -12277,8 +12277,12 @@ BOOLEAN CheckIfClickOnLastSectorInPath( INT16 sX, INT16 sY )
|
||||
// helicopter route confirmed
|
||||
if( sX + ( sY * MAP_WORLD_X ) == GetLastSectorOfHelicoptersPath( ) )
|
||||
{
|
||||
// WANNE: This check was added in revision 4724, to prevent the loophole for helicopter hovering forever
|
||||
// But is seems, it also causes the bug, that skyrider is stuck in the sector forever (bugzilla #562)
|
||||
// So hopefully, skyrider does not stuck anymore ...
|
||||
|
||||
// if confirm moving to another sector
|
||||
if( ( CheckForClickOverHelicopterIcon( sX, sY ) == FALSE ) )
|
||||
//if( ( CheckForClickOverHelicopterIcon( sX, sY ) == FALSE ) )
|
||||
{
|
||||
// take off
|
||||
TakeOffHelicopter( );
|
||||
|
||||
Reference in New Issue
Block a user