diff --git a/src/m_cheat.cpp b/src/m_cheat.cpp index 270ecf421..a79ca3ad7 100644 --- a/src/m_cheat.cpp +++ b/src/m_cheat.cpp @@ -54,15 +54,15 @@ void cht_DoCheat (player_t *player, int cheat) { static const char * BeholdPowers[9] = { - { "PowerInvulnerable" }, - { "PowerStrength" }, - { "PowerInvisibility" }, - { "PowerIronFeet" }, - { "MapRevealer" }, - { "PowerLightAmp" }, - { "PowerShadow" }, - { "PowerMask" }, - { "PowerTargeter" }, + "PowerInvulnerable", + "PowerStrength", + "PowerInvisibility", + "PowerIronFeet", + "MapRevealer", + "PowerLightAmp", + "PowerShadow", + "PowerMask", + "PowerTargeter", }; const PClass *type; AInventory *item; diff --git a/src/p_buildmap.cpp b/src/p_buildmap.cpp index 82a709571..86d7575ad 100644 --- a/src/p_buildmap.cpp +++ b/src/p_buildmap.cpp @@ -347,7 +347,7 @@ static bool P_LoadBloodMap (BYTE *data, size_t len, FMapThing **mapthings, int * data += sizeof(spritetype); if (bspr[i].extra > 0) // copy Xsprite { - assert(sizeof Xsprite == 56); + assert(sizeof(Xsprite) == 56); memcpy(&xspr[i], data, sizeof(Xsprite)); data += sizeof(Xsprite); }