mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 17:01:51 +00:00
Patch from hunter_rus
git-svn-id: https://svn.eduke32.com/eduke32@650 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
945e1b2357
commit
0e3fbdf05e
4 changed files with 5 additions and 4 deletions
|
@ -4851,6 +4851,7 @@ void polymost_dorotatesprite(int sx, int sy, int z, short a, short picnum,
|
|||
tspr.shade = dashade;
|
||||
tspr.pal = dapalnum;
|
||||
tspr.owner = uniqid+MAXSPRITES;
|
||||
sprite[tspr.owner].pal=dapalnum;
|
||||
globalorientation = (dastat&1)+((dastat&32)<<4)+((dastat&4)<<1);
|
||||
|
||||
if ((dastat&10) == 2)
|
||||
|
|
|
@ -5079,7 +5079,7 @@ static void addgroup(const char *buffer)
|
|||
CommandGrps = s;
|
||||
}
|
||||
|
||||
static void checkcommandline(int argc,const char **argv)
|
||||
static void checkcommandline(int argc, const char **argv)
|
||||
{
|
||||
int i = 1;
|
||||
char *c;
|
||||
|
|
|
@ -8895,7 +8895,7 @@ static int parsedefinitions_game(scriptfile *script, const int preload)
|
|||
return 0;
|
||||
}
|
||||
|
||||
static int loaddefinitions_game(const char *fn, const int preload)
|
||||
static int loaddefinitions_game(const char *fn, int preload)
|
||||
{
|
||||
scriptfile *script;
|
||||
|
||||
|
@ -8945,7 +8945,7 @@ static void addgamepath(const char *buffer)
|
|||
}
|
||||
|
||||
|
||||
static void checkcommandline(int argc,const char **argv)
|
||||
static void checkcommandline(int argc, const char **argv)
|
||||
{
|
||||
short i, j;
|
||||
char *c;
|
||||
|
|
|
@ -412,7 +412,7 @@ int loadplayer(int spot)
|
|||
|
||||
i = music_select;
|
||||
music_select = (ud.volume_number*MAXLEVELS) + ud.level_number;
|
||||
if (map[(unsigned char)music_select].musicfn != NULL && i != music_select)
|
||||
if (map[(unsigned char)music_select].musicfn != NULL && (i != music_select || env_music_fn[2][0]))
|
||||
{
|
||||
MUSIC_StopSong();
|
||||
playmusicMAP(&map[(unsigned char)music_select].musicfn[0],music_select);
|
||||
|
|
Loading…
Reference in a new issue