Skip to content
Permalink
Browse files

plugins/l4d2: fix build.

  • Loading branch information...
mkrautz committed Jun 6, 2016
1 parent f491aac commit a3275f579ba7f16ecc820e91b3e3d1c7c0337f67
Showing with 2 additions and 0 deletions.
  1. +2 −0 plugins/l4d2/l4d2.cpp
@@ -19,6 +19,8 @@ static int fetch(float *avatar_pos, float *avatar_front, float *avatar_top, floa
float avatar_pos_corrector[3], camera_pos_corrector[3], avatar_front_corrector[3], avatar_top_corrector[3];
// Char values for extra features
char serverid[22], host[22], servername[50], map[30], player[33];
// State
BYTE state;

// Peekproc and assign game addresses to our containers, so we can retrieve positional data
ok = peekProc((BYTE *) pModule + 0x06ACBD5, &state, 1) && // Magical state value: 0 or 255 when in main menu and 1 when in-game.

0 comments on commit a3275f5

Please sign in to comment.
You can’t perform that action at this time.