Fixed startup crash regression (bug 5607, r=dvander).
This commit is contained in:
parent
be4ac7ca61
commit
7b42aba5ea
@ -124,8 +124,8 @@ static void logic_init(const sm_core_t* core, sm_logic_t* _logic)
|
||||
playerhelpers = core->playerhelpers;
|
||||
adminsys = core->adminsys;
|
||||
gamehelpers = core->gamehelpers;
|
||||
g_pSourcePawn = core->spe1;
|
||||
g_pSourcePawn2 = core->spe2;
|
||||
g_pSourcePawn = *core->spe1;
|
||||
g_pSourcePawn2 = *core->spe2;
|
||||
}
|
||||
|
||||
PLATFORM_EXTERN_C ITextParsers *get_textparsers()
|
||||
|
@ -99,8 +99,8 @@ struct sm_core_t
|
||||
IPlayerManager *playerhelpers;
|
||||
IAdminSystem *adminsys;
|
||||
IGameHelpers *gamehelpers;
|
||||
ISourcePawnEngine *spe1;
|
||||
ISourcePawnEngine2 *spe2;
|
||||
ISourcePawnEngine **spe1;
|
||||
ISourcePawnEngine2 **spe2;
|
||||
/* Functions */
|
||||
void (*AddNatives)(sp_nativeinfo_t* nlist);
|
||||
ConVar * (*FindConVar)(const char*);
|
||||
|
@ -224,8 +224,8 @@ static sm_core_t core_bridge =
|
||||
&g_Players,
|
||||
&g_Admins,
|
||||
&g_HL2,
|
||||
g_pSourcePawn,
|
||||
g_pSourcePawn2,
|
||||
&g_pSourcePawn,
|
||||
&g_pSourcePawn2,
|
||||
/* Functions */
|
||||
add_natives,
|
||||
find_convar,
|
||||
|
Loading…
Reference in New Issue
Block a user