mirror of
https://github.com/1dot13/source.git
synced 2026-08-12 14:10:23 +02:00
Externalize fan exitgrid location in the source sector
This commit is contained in:
@@ -7778,6 +7778,7 @@ void HandleMovingEnemiesCloseToEntranceInSecondTunnelMap( )
|
||||
|
||||
void HandlePowerGenFanSoundModification( )
|
||||
{
|
||||
extern UINT32 POWERGENSECTOREXITGRID_SRC_GRIDNO;
|
||||
SetTileAnimCounter( TILE_ANIM__FAST_SPEED );
|
||||
|
||||
switch ( gJa25SaveStruct.ubStateOfFanInPowerGenSector )
|
||||
@@ -7786,7 +7787,7 @@ void HandlePowerGenFanSoundModification( )
|
||||
HandleAddingPowerGenFanSound( );
|
||||
|
||||
//MAKE SURE the fan does not have an exit grid
|
||||
RemoveExitGridFromWorld( PGF__FAN_EXIT_GRID_GRIDNO );
|
||||
RemoveExitGridFromWorld( POWERGENSECTOREXITGRID_SRC_GRIDNO );
|
||||
break;
|
||||
|
||||
case PGF__STOPPED:
|
||||
|
||||
Reference in New Issue
Block a user