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;
|
playerhelpers = core->playerhelpers;
|
||||||
adminsys = core->adminsys;
|
adminsys = core->adminsys;
|
||||||
gamehelpers = core->gamehelpers;
|
gamehelpers = core->gamehelpers;
|
||||||
g_pSourcePawn = core->spe1;
|
g_pSourcePawn = *core->spe1;
|
||||||
g_pSourcePawn2 = core->spe2;
|
g_pSourcePawn2 = *core->spe2;
|
||||||
}
|
}
|
||||||
|
|
||||||
PLATFORM_EXTERN_C ITextParsers *get_textparsers()
|
PLATFORM_EXTERN_C ITextParsers *get_textparsers()
|
||||||
|
@ -99,8 +99,8 @@ struct sm_core_t
|
|||||||
IPlayerManager *playerhelpers;
|
IPlayerManager *playerhelpers;
|
||||||
IAdminSystem *adminsys;
|
IAdminSystem *adminsys;
|
||||||
IGameHelpers *gamehelpers;
|
IGameHelpers *gamehelpers;
|
||||||
ISourcePawnEngine *spe1;
|
ISourcePawnEngine **spe1;
|
||||||
ISourcePawnEngine2 *spe2;
|
ISourcePawnEngine2 **spe2;
|
||||||
/* Functions */
|
/* Functions */
|
||||||
void (*AddNatives)(sp_nativeinfo_t* nlist);
|
void (*AddNatives)(sp_nativeinfo_t* nlist);
|
||||||
ConVar * (*FindConVar)(const char*);
|
ConVar * (*FindConVar)(const char*);
|
||||||
|
@ -224,8 +224,8 @@ static sm_core_t core_bridge =
|
|||||||
&g_Players,
|
&g_Players,
|
||||||
&g_Admins,
|
&g_Admins,
|
||||||
&g_HL2,
|
&g_HL2,
|
||||||
g_pSourcePawn,
|
&g_pSourcePawn,
|
||||||
g_pSourcePawn2,
|
&g_pSourcePawn2,
|
||||||
/* Functions */
|
/* Functions */
|
||||||
add_natives,
|
add_natives,
|
||||||
find_convar,
|
find_convar,
|
||||||
|
Loading…
Reference in New Issue
Block a user