Add this_game_id global
For storing the current game we are playing
This commit is contained in:
@@ -8,6 +8,8 @@
|
||||
#include "include/sdk.h"
|
||||
#include "include/util.h"
|
||||
|
||||
enum game_id this_game_id = HL;
|
||||
|
||||
void* hw;
|
||||
void** h_client;
|
||||
DECL_INTF(cl_enginefunc_t, engine);
|
||||
@@ -25,6 +27,8 @@ extra_player_info_t* player_extra_info;
|
||||
/* Updated in CL_CreateMove hook */
|
||||
cl_entity_t* localplayer = NULL;
|
||||
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
bool globals_init(void) {
|
||||
/*
|
||||
* Get handler for hw.so
|
||||
|
||||
Reference in New Issue
Block a user