engine: expose world version through RefAPI

This commit is contained in:
Alibek Omarov
2023-12-15 07:38:07 +03:00
parent 46c61660cf
commit c96cf7e22d
2 changed files with 3 additions and 0 deletions
+2
View File
@@ -207,6 +207,8 @@ intptr_t CL_RenderGetParm( const int parm, const int arg, const qboolean checkRe
return pfnNumberOfEntities();
case PARM_NUMMODELS:
return cl.nummodels;
case PARM_WORLD_VERSION:
return world.version;
}
}
return 0;