Don't mix declarations and code
This commit is contained in:
parent
5c9aaf2fe4
commit
8f0abb267e
|
@ -2330,8 +2330,7 @@ void G_SpawnPlayer(INT32 playernum, boolean starpost)
|
||||||
P_MovePlayerToSpawn(playernum, spawnpoint);
|
P_MovePlayerToSpawn(playernum, spawnpoint);
|
||||||
|
|
||||||
#ifdef HAVE_BLUA
|
#ifdef HAVE_BLUA
|
||||||
player_t *p = &players[playernum];
|
LUAh_PlayerSpawn(&players[playernum]); // Lua hook for player spawning :)
|
||||||
LUAh_PlayerSpawn(p); // Lua hook for player spawning :)
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue