mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 08:52:00 +00:00
Fix declaration-after-statement warning in game.c after r3270.
git-svn-id: https://svn.eduke32.com/eduke32@3277 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
2f8dbd94c3
commit
70aecb2e75
1 changed files with 4 additions and 3 deletions
|
@ -3950,6 +3950,8 @@ int32_t A_InsertSprite(int32_t whatsect,int32_t s_x,int32_t s_y,int32_t s_z,int3
|
|||
{
|
||||
int32_t p;
|
||||
int32_t i;
|
||||
spritetype *s;
|
||||
spritetype spr_temp;
|
||||
|
||||
// NetAlloc
|
||||
if (Net_IsRelevantStat(s_ss))
|
||||
|
@ -3960,9 +3962,8 @@ int32_t A_InsertSprite(int32_t whatsect,int32_t s_x,int32_t s_y,int32_t s_z,int3
|
|||
{
|
||||
i = insertsprite(whatsect,s_ss);
|
||||
}
|
||||
|
||||
spritetype *s = &sprite[i];
|
||||
spritetype spr_temp;
|
||||
|
||||
s = &sprite[i];
|
||||
|
||||
memset(&spr_temp, 0, sizeof(spritetype));
|
||||
spr_temp.x = s_x;
|
||||
|
|
Loading…
Reference in a new issue