Revert "Merge pull request #7 from basicDamen/takeover"
This reverts commitacb3cba0bc
, reversing changes made to22aeee6494
.
This commit is contained in:
parent
acb3cba0bc
commit
ba482d834d
@ -782,11 +782,7 @@ thread OnGangKickOffline( playerid, gangid )
|
|||||||
/* ** Functions ** */
|
/* ** Functions ** */
|
||||||
stock CreateGang( const gang_name[ 30 ], leader, gang_color, kills = 1, deaths = 1, bank = 0, score = 0, respect = 0, bool: invite_only = false, const join_message[ 96 ] = "NULL", bool: has_facility = false, sql_id = 0 )
|
stock CreateGang( const gang_name[ 30 ], leader, gang_color, kills = 1, deaths = 1, bank = 0, score = 0, respect = 0, bool: invite_only = false, const join_message[ 96 ] = "NULL", bool: has_facility = false, sql_id = 0 )
|
||||||
{
|
{
|
||||||
new
|
new handle = Iter_Free( gangs );
|
||||||
handle = sql_id != ITER_NONE ? sql_id : Iter_Free( gangs );
|
|
||||||
|
|
||||||
if ( Iter_Contains( gangs, sql_id ) )
|
|
||||||
handle = ITER_NONE; // In the unlikelihood...
|
|
||||||
|
|
||||||
if ( handle != ITER_NONE )
|
if ( handle != ITER_NONE )
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user