mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-27 04:41:23 +00:00
Don't mix declarations and code
This commit is contained in:
parent
5c9aaf2fe4
commit
8f0abb267e
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue