mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-12 19:20:38 +00:00
git-svn-id: https://svn.eduke32.com/eduke32@547 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
35afa5ff53
commit
22b4b23240
2 changed files with 4 additions and 6 deletions
|
@ -7347,12 +7347,11 @@ long saveboard(char *filename, long *daposx, long *daposy, long *daposz,
|
||||||
|
|
||||||
ts = B_LITTLE16(numsprites); Bwrite(fil,&ts,2);
|
ts = B_LITTLE16(numsprites); Bwrite(fil,&ts,2);
|
||||||
|
|
||||||
for (j=0;j<MAXSTATUS;j++)
|
for (j=0;j<MAXSPRITES;j++)
|
||||||
{
|
{
|
||||||
i = headspritestat[j];
|
if (sprite[j].statnum != MAXSTATUS)
|
||||||
while (i != -1)
|
|
||||||
{
|
{
|
||||||
tspri = sprite[i];
|
tspri = sprite[j];
|
||||||
tspri.x = B_LITTLE32(tspri.x);
|
tspri.x = B_LITTLE32(tspri.x);
|
||||||
tspri.y = B_LITTLE32(tspri.y);
|
tspri.y = B_LITTLE32(tspri.y);
|
||||||
tspri.z = B_LITTLE32(tspri.z);
|
tspri.z = B_LITTLE32(tspri.z);
|
||||||
|
@ -7369,7 +7368,6 @@ long saveboard(char *filename, long *daposx, long *daposy, long *daposz,
|
||||||
tspri.hitag = B_LITTLE16(tspri.hitag);
|
tspri.hitag = B_LITTLE16(tspri.hitag);
|
||||||
tspri.extra = B_LITTLE16(tspri.extra);
|
tspri.extra = B_LITTLE16(tspri.extra);
|
||||||
Bwrite(fil,&tspri,sizeof(spritetype));
|
Bwrite(fil,&tspri,sizeof(spritetype));
|
||||||
i = nextspritestat[i];
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -672,7 +672,7 @@ LABELS playerlabels[]=
|
||||||
{ "walking_snd_toggle", PLAYER_WALKING_SND_TOGGLE, 0, 0 },
|
{ "walking_snd_toggle", PLAYER_WALKING_SND_TOGGLE, 0, 0 },
|
||||||
{ "palookup", PLAYER_PALOOKUP, 0, 0 },
|
{ "palookup", PLAYER_PALOOKUP, 0, 0 },
|
||||||
{ "hard_landing", PLAYER_HARD_LANDING, 0, 0 },
|
{ "hard_landing", PLAYER_HARD_LANDING, 0, 0 },
|
||||||
{ "max_+_rooms", PLAYER_MAX_SECRET_ROOMS, 0, 0 },
|
{ "max_secret_rooms", PLAYER_MAX_SECRET_ROOMS, 0, 0 },
|
||||||
{ "secret_rooms", PLAYER_SECRET_ROOMS, 0, 0 },
|
{ "secret_rooms", PLAYER_SECRET_ROOMS, 0, 0 },
|
||||||
{ "pals", PLAYER_PALS, LABEL_HASPARM2, 2 },
|
{ "pals", PLAYER_PALS, LABEL_HASPARM2, 2 },
|
||||||
{ "max_actors_killed", PLAYER_MAX_ACTORS_KILLED, 0, 0 },
|
{ "max_actors_killed", PLAYER_MAX_ACTORS_KILLED, 0, 0 },
|
||||||
|
|
Loading…
Reference in a new issue