From a75533ce88c4242a3a79051ebe53086da930e34c Mon Sep 17 00:00:00 2001 From: Thomas Jones Date: Sun, 16 Jun 2024 23:36:11 +1000 Subject: [PATCH] Fix broken `for` loop --- dllmain.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/dllmain.c b/dllmain.c index 3226bdf..67461e5 100644 --- a/dllmain.c +++ b/dllmain.c @@ -227,18 +227,17 @@ void InitializeVm(void) { 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.."); + 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.."); + DebugPrint("bg_itemlist..."); #endif for (bg_numItems = 1; bg_itemlist[ bg_numItems ].classname; bg_numItems++); - DebugPrint(".\n"); } // Called after the game is initialized.