-------
Moved the Lakitu respawn code so that it isn't console-only.
This commit is contained in:
ZTsukei 2017-08-09 23:44:29 -04:00
parent 80990da828
commit fd85c536ff
2 changed files with 8 additions and 6 deletions

View File

@ -143,16 +143,16 @@ extern FILE *logstream;
#define DEVELOP // Disable this for release builds to remove excessive cheat commands and enable MD5 checking and stuff, all in one go. :3
#ifdef DEVELOP
#define VERSION 103 // Game version
#define SUBVERSION 18 // more precise version number
#define SUBVERSION 19 // more precise version number
#define VERSIONSTRING "Development EXE"
#define VERSIONSTRINGW "v1.3.18"
#define VERSIONSTRINGW "v1.3.19"
// most interface strings are ignored in development mode.
// we use comprevision and compbranch instead.
#else
#define VERSION 103 // Game version
#define SUBVERSION 18 // more precise version number
#define VERSIONSTRING "DevEXE v1.3.18"
#define VERSIONSTRINGW L"v1.3.18"
#define SUBVERSION 19 // more precise version number
#define VERSIONSTRING "DevEXE v1.3.19"
#define VERSIONSTRINGW L"v1.3.19"
// Hey! If you change this, add 1 to the MODVERSION below!
// Otherwise we can't force updates!
#endif

View File

@ -2332,10 +2332,12 @@ void G_PlayerReborn(INT32 player)
S_ChangeMusic(mapmusname, mapmusflags, true);
if (p->laps == (unsigned)(cv_numlaps.value - 1))
S_SpeedMusic(1.2f);
p->kartstuff[k_lakitu] = 64; // Lakitu Spawner
}
}
if (leveltime > 157)
p->kartstuff[k_lakitu] = 64; // Lakitu Spawner
if (gametype == GT_COOP)
P_FindEmerald(); // scan for emeralds to hunt for