mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-01-30 13:00:54 +00:00
Oho, here's the problem!
Too many fixed_t!
This commit is contained in:
parent
3e74ac2b97
commit
b5e0a80c35
1 changed files with 6 additions and 6 deletions
12
src/g_game.c
12
src/g_game.c
|
@ -4831,8 +4831,8 @@ void G_BeginRecording(void)
|
||||||
WRITEUINT8(demo_p,player->mindash>>FRACBITS);
|
WRITEUINT8(demo_p,player->mindash>>FRACBITS);
|
||||||
WRITEUINT8(demo_p,player->maxdash>>FRACBITS);
|
WRITEUINT8(demo_p,player->maxdash>>FRACBITS);
|
||||||
// SRB2kart
|
// SRB2kart
|
||||||
WRITEUINT8(demo_p,player->kartspeed>>FRACBITS);
|
WRITEUINT8(demo_p,player->kartspeed);
|
||||||
WRITEUINT8(demo_p,player->kartweight>>FRACBITS);
|
WRITEUINT8(demo_p,player->kartweight);
|
||||||
//
|
//
|
||||||
WRITEUINT8(demo_p,player->normalspeed>>FRACBITS);
|
WRITEUINT8(demo_p,player->normalspeed>>FRACBITS);
|
||||||
WRITEUINT8(demo_p,player->runspeed>>FRACBITS);
|
WRITEUINT8(demo_p,player->runspeed>>FRACBITS);
|
||||||
|
@ -5062,9 +5062,9 @@ void G_DoPlayDemo(char *defdemoname)
|
||||||
UINT8 i;
|
UINT8 i;
|
||||||
lumpnum_t l;
|
lumpnum_t l;
|
||||||
char skin[17],color[17],*n,*pdemoname;
|
char skin[17],color[17],*n,*pdemoname;
|
||||||
UINT8 version,subversion,charability,charability2,thrustfactor,accelstart,acceleration;
|
UINT8 version,subversion,charability,charability2,kartspeed,kartweight,thrustfactor,accelstart,acceleration;
|
||||||
UINT32 randseed;
|
UINT32 randseed;
|
||||||
fixed_t actionspd,mindash,maxdash,kartspeed,kartweight,normalspeed,runspeed,jumpfactor;
|
fixed_t actionspd,mindash,maxdash,normalspeed,runspeed,jumpfactor;
|
||||||
char msg[1024];
|
char msg[1024];
|
||||||
|
|
||||||
skin[16] = '\0';
|
skin[16] = '\0';
|
||||||
|
@ -5201,8 +5201,8 @@ void G_DoPlayDemo(char *defdemoname)
|
||||||
mindash = (fixed_t)READUINT8(demo_p)<<FRACBITS;
|
mindash = (fixed_t)READUINT8(demo_p)<<FRACBITS;
|
||||||
maxdash = (fixed_t)READUINT8(demo_p)<<FRACBITS;
|
maxdash = (fixed_t)READUINT8(demo_p)<<FRACBITS;
|
||||||
// SRB2kart
|
// SRB2kart
|
||||||
kartspeed = READUINT8(demo_p)<<FRACBITS;
|
kartspeed = READUINT8(demo_p);
|
||||||
kartweight = READUINT8(demo_p)<<FRACBITS;
|
kartweight = READUINT8(demo_p);
|
||||||
//
|
//
|
||||||
normalspeed = (fixed_t)READUINT8(demo_p)<<FRACBITS;
|
normalspeed = (fixed_t)READUINT8(demo_p)<<FRACBITS;
|
||||||
runspeed = (fixed_t)READUINT8(demo_p)<<FRACBITS;
|
runspeed = (fixed_t)READUINT8(demo_p)<<FRACBITS;
|
||||||
|
|
Loading…
Reference in a new issue