mirror of
https://github.com/alliedmodders/metamod-source.git
synced 2024-11-28 10:24:20 +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())
|
||||
return NULL;
|
||||
|
||||
/* Only support versions 1 or 2 right now */
|
||||
if (version > 2)
|
||||
return NULL;
|
||||
|
||||
mm_vsp_callbacks.PrepForLoad(version);
|
||||
|
||||
return &mm_vsp_callbacks;
|
||||
|
Loading…
Reference in New Issue
Block a user