mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 14:51:51 +00:00
- GCC fixes.
SVN r2257 (trunk)
This commit is contained in:
parent
18d58ef1c5
commit
ba29ffd405
2 changed files with 10 additions and 10 deletions
|
@ -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;
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue