mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
G_DoPlayDemo: let argument be const
This commit is contained in:
parent
2d169202f2
commit
a10c9fea39
2 changed files with 4 additions and 3 deletions
|
|
@ -2950,13 +2950,14 @@ void G_DeferedPlayDemo(const char *name)
|
|||
|
||||
#define SKIPERRORS
|
||||
|
||||
void G_DoPlayDemo(char *defdemoname)
|
||||
void G_DoPlayDemo(const char *defdemoname)
|
||||
{
|
||||
INT32 i;
|
||||
UINT8 p, numslots = 0;
|
||||
lumpnum_t l;
|
||||
char color[MAXCOLORNAME+1],follower[17],mapname[MAXMAPLUMPNAME],gtname[MAXGAMETYPELENGTH];
|
||||
char *n,*pdemoname;
|
||||
const char *n;
|
||||
char *pdemoname;
|
||||
UINT8 availabilities[MAXPLAYERS][MAXAVAILABILITY];
|
||||
UINT8 version,subversion;
|
||||
UINT32 randseed[PRNUMCLASS];
|
||||
|
|
|
|||
|
|
@ -181,7 +181,7 @@ extern demoghost *ghosts;
|
|||
#define DFILE_ERROR_EXTRAFILES 0x05 // Extra files outside of the replay's file list are loaded.
|
||||
|
||||
void G_DeferedPlayDemo(const char *demo);
|
||||
void G_DoPlayDemo(char *defdemoname);
|
||||
void G_DoPlayDemo(const char *defdemoname);
|
||||
void G_TimeDemo(const char *name);
|
||||
void G_AddGhost(UINT8 *buffer, char *defdemoname);
|
||||
staffbrief_t *G_GetStaffGhostBrief(UINT8 *buffer);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue