diff options
author | Michael Smith <mikesmiffy128@gmail.com> | 2023-06-10 16:44:19 +0100 |
---|---|---|
committer | Michael Smith <mikesmiffy128@gmail.com> | 2023-06-10 16:51:02 +0100 |
commit | 1c4318331663b152b0b298bd2c9e5c971506a86b (patch) | |
tree | a402681cb84b491819ba5018525c16340110fd4d /src/engineapi.c | |
parent | 602a18977d500ad068fd63fbedcafb630c29ee72 (diff) |
Prune some comments and tidy up other minor things
Diffstat (limited to 'src/engineapi.c')
-rw-r--r-- | src/engineapi.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/engineapi.c b/src/engineapi.c index d4ee742..831836b 100644 --- a/src/engineapi.c +++ b/src/engineapi.c @@ -1,5 +1,5 @@ /* - * Copyright © 2022 Michael Smith <mikesmiffy128@gmail.com> + * Copyright © 2023 Michael Smith <mikesmiffy128@gmail.com> * Copyright © 2023 Willian Henrique <wsimanbrazil@yahoo.com.br> * * Permission to use, copy, modify, and/or distribute this software for any @@ -37,15 +37,14 @@ ifacefactory factory_client = 0, factory_server = 0, factory_engine = 0, struct VEngineClient *engclient; struct VEngineServer *engserver; -// this seems to be very stable, thank goodness -DECL_VFUNC(void *, GetGlobalVars, 1) +DECL_VFUNC(void *, GetGlobalVars, 1) // seems to be very stable, thank goodness void *globalvars; void *inputsystem, *vgui; DECL_VFUNC_DYN(void *, GetAllServerClasses) -#include <entpropsinit.gen.h> +#include <entpropsinit.gen.h> // generated by build/mkentprops.c bool engineapi_init(int pluginver) { if (!con_detect(pluginver)) return false; @@ -101,8 +100,6 @@ bool engineapi_init(int pluginver) { } } - // need to do this now; ServerClass network table iteration requires - // SendProp offsets gamedata_init(); con_init(); if (!gameinfo_init()) { con_disconnect(); return false; } |