Build: fixup warnings in Debug builds

This commit is contained in:
Alam Ed Arias 2017-09-28 16:54:26 -04:00
parent 92aa0e000e
commit 01602fa1f1
4 changed files with 6 additions and 4 deletions

View File

@ -4625,7 +4625,7 @@ static void M_ReadSavegameInfo(UINT32 slot)
savegameinfo[slot].botskin = 0;
if (savegameinfo[slot].botskin)
snprintf(savegameinfo[slot].playername, 32, "%s & %s",
snprintf(savegameinfo[slot].playername, 36, "%s & %s",
skins[savegameinfo[slot].skinnum].realname,
skins[savegameinfo[slot].botskin-1].realname);
else

View File

@ -190,7 +190,7 @@ typedef struct
// savegame struct for save game menu
typedef struct
{
char playername[32];
char playername[37];
char levelname[32];
UINT8 actnum;
UINT8 skincolor;

View File

@ -4812,9 +4812,11 @@ void A_UnidusBall(mobj_t *actor)
case 0: // at least one frame where not dashing
if (!skull) ++actor->extravalue2;
else break;
/* FALLTHRU */
case 1: // at least one frame where ARE dashing
if (skull) ++actor->extravalue2;
else break;
/* FALLTHRU */
case 2: // not dashing again?
if (skull) break;
// launch.

View File

@ -57,7 +57,7 @@ typedef union
{
struct
{
char passed1[14]; // KNUCKLES GOT / CRAWLA HONCHO
char passed1[21]; // KNUCKLES GOT / CRAWLA HONCHO
char passed2[16]; // THROUGH THE ACT / PASSED THE ACT
INT32 passedx1;
INT32 passedx2;
@ -77,7 +77,7 @@ typedef union
struct
{
char passed1[SKINNAMESIZE+1]; // KNUCKLES GOT / CRAWLA HONCHO
char passed1[29]; // KNUCKLES GOT / CRAWLA HONCHO
char passed2[17]; // A CHAOS EMERALD / GOT THEM ALL!
char passed3[15]; // CAN NOW BECOME
char passed4[SKINNAMESIZE+7]; // SUPER CRAWLA HONCHO