Skip to content

Commit

Permalink
Remove debug statements
Browse files Browse the repository at this point in the history
  • Loading branch information
tjone270 committed Jun 16, 2024
1 parent bbe13dd commit bcebdca
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions dllmain.c
Original file line number Diff line number Diff line change
Expand Up @@ -223,18 +223,12 @@ void InitializeVm(void) {

#if defined(__x86_64__) || defined(_M_X64)
g_entities = (gentity_t*)(*(int32_t*)OFFSET_RELP_G_ENTITIES + OFFSET_RELP_G_ENTITIES + 4);
DebugPrint("g_entities... ");
level = (level_locals_t*)(*(int32_t*)OFFSET_RELP_LEVEL + OFFSET_RELP_LEVEL + 4);
DebugPrint("level... ");
bg_itemlist = (gitem_t*)*(int64_t*)((*(int32_t*)OFFSET_RELP_BG_ITEMLIST + OFFSET_RELP_BG_ITEMLIST + 4));
DebugPrint("bg_itemlist...");
#elif defined(__i386) || defined(_M_IX86)
g_entities = (gentity_t*)(*(int32_t*)OFFSET_RELP_G_ENTITIES + 0xCEFF4 + (pint)qagame);
DebugPrint("g_entities... ");
level = (level_locals_t*)(*(int32_t*)OFFSET_RELP_LEVEL + 0xCEFF4 + (pint)qagame);
DebugPrint("level... ");
bg_itemlist = (gitem_t*)*(int32_t*)((*(int32_t*)OFFSET_RELP_BG_ITEMLIST + 0xCEFF4 + (pint)qagame));
DebugPrint("bg_itemlist...");
#endif

for (bg_numItems = 1; bg_itemlist[ bg_numItems ].classname; bg_numItems++);
Expand Down

0 comments on commit bcebdca

Please sign in to comment.