- GCC fixes.

SVN r2257 (trunk)
This commit is contained in:
Christoph Oelckers 2010-03-29 20:25:08 +00:00
parent 18d58ef1c5
commit ba29ffd405
2 changed files with 10 additions and 10 deletions

View file

@ -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;

View file

@ -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);
}