| changeset 938 | 8e95112b2501 |
| parent 916 | 39ae94ad60ce |
| child 972 | 63d848bccec5 |
1.1 --- a/core/sourcemod.cpp Fri Jun 15 06:31:12 2007 +0000 1.2 +++ b/core/sourcemod.cpp Fri Jun 15 20:23:40 2007 +0000 1.3 @@ -200,7 +200,8 @@ 1.4 } 1.5 1.6 unsigned int api = g_pVM->GetAPIVersion(); 1.7 - if (api != SOURCEPAWN_VM_API_VERSION) 1.8 + /* :TODO: clean this up (see amb398) */ 1.9 + if (api > SOURCEPAWN_VM_API_VERSION || api < 2) 1.10 { 1.11 ShutdownJIT(); 1.12 if (error && maxlength)