mirror of
https://github.com/alliedmodders/metamod-source.git
synced 2025-02-26 19:54:14 +01:00
Fixed loader responding to plugin api > 2.
This commit is contained in:
parent
05a178f338
commit
ccf4ae53a8
@ -244,6 +244,10 @@ void *mm_GetVspCallbacks(unsigned int version)
|
|||||||
if (mm_vsp_callbacks.IsLoaded())
|
if (mm_vsp_callbacks.IsLoaded())
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
|
/* Only support versions 1 or 2 right now */
|
||||||
|
if (version > 2)
|
||||||
|
return NULL;
|
||||||
|
|
||||||
mm_vsp_callbacks.PrepForLoad(version);
|
mm_vsp_callbacks.PrepForLoad(version);
|
||||||
|
|
||||||
return &mm_vsp_callbacks;
|
return &mm_vsp_callbacks;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user