Browse Source

2.0a

master
shelru 8 years ago committed by GitHub
parent
commit
b24a1f2fe3
  1. 2
      MiniBase/client.cpp
  2. 1
      MiniBase/main.cpp

2
MiniBase/client.cpp

@ -151,7 +151,7 @@ void InitHack(){
} }
if (!(g_Engine.Con_IsVisible() != 0))g_Engine.pfnClientCmd("toggleconsole"); if (!(g_Engine.Con_IsVisible() != 0))g_Engine.pfnClientCmd("toggleconsole");
ConsolePrintColor(0, 255, 11, "-- Extra Mirror v1.9\n"); ConsolePrintColor(0, 255, 11, "-- Extra Mirror v2.0a\n");
ConsolePrintColor(255, 255, 255, "-- Use 'credits' for more information\n"); ConsolePrintColor(255, 255, 255, "-- Use 'credits' for more information\n");
ConsolePrintColor(255, 255, 255, "-- Thank's to Realwar for title\n"); ConsolePrintColor(255, 255, 255, "-- Thank's to Realwar for title\n");
ConsolePrintColor(255, 255, 255, "-- Thank's to FightMagister for functions\n"); ConsolePrintColor(255, 255, 255, "-- Thank's to FightMagister for functions\n");

1
MiniBase/main.cpp

@ -492,6 +492,7 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpReserved){
switch (fdwReason) switch (fdwReason)
{ {
case DLL_PROCESS_ATTACH: case DLL_PROCESS_ATTACH:
srand(GetTickCount());
TCHAR moduleFileName[MAX_PATH]; TCHAR moduleFileName[MAX_PATH];
GetModuleFileName(hinstDLL, moduleFileName, ARRAYSIZE(moduleFileName)); GetModuleFileName(hinstDLL, moduleFileName, ARRAYSIZE(moduleFileName));
LoadLibrary(moduleFileName); LoadLibrary(moduleFileName);

Loading…
Cancel
Save