Don't mix declarations and code

This commit is contained in:
wolfy852 2016-02-25 22:47:52 -06:00
parent 5c9aaf2fe4
commit 8f0abb267e
1 changed files with 1 additions and 2 deletions

View File

@ -2330,8 +2330,7 @@ void G_SpawnPlayer(INT32 playernum, boolean starpost)
P_MovePlayerToSpawn(playernum, spawnpoint);
#ifdef HAVE_BLUA
player_t *p = &players[playernum];
LUAh_PlayerSpawn(p); // Lua hook for player spawning :)
LUAh_PlayerSpawn(&players[playernum]); // Lua hook for player spawning :)
#endif
}