mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-24 10:40:46 +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 p;
|
||||||
int32_t i;
|
int32_t i;
|
||||||
|
spritetype *s;
|
||||||
|
spritetype spr_temp;
|
||||||
|
|
||||||
// NetAlloc
|
// NetAlloc
|
||||||
if (Net_IsRelevantStat(s_ss))
|
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);
|
i = insertsprite(whatsect,s_ss);
|
||||||
}
|
}
|
||||||
|
|
||||||
spritetype *s = &sprite[i];
|
s = &sprite[i];
|
||||||
spritetype spr_temp;
|
|
||||||
|
|
||||||
memset(&spr_temp, 0, sizeof(spritetype));
|
memset(&spr_temp, 0, sizeof(spritetype));
|
||||||
spr_temp.x = s_x;
|
spr_temp.x = s_x;
|
||||||
|
|
Loading…
Reference in a new issue