mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 23:01:50 +00:00
- fixed some leftover unused variable warnings.
- match the variable names in thingdef_codeptr.cpp to the ones in the scripting branch to reduce the amount of merge conflicts in upcoming changes.
This commit is contained in:
parent
27aeb6a656
commit
97620b0645
5 changed files with 289 additions and 258 deletions
|
@ -367,7 +367,6 @@ DEFINE_ACTION_FUNCTION(AActor, A_MinotaurAtk3)
|
|||
DEFINE_ACTION_FUNCTION(AActor, A_MntrFloorFire)
|
||||
{
|
||||
AActor *mo;
|
||||
fixed_t x, y;
|
||||
|
||||
self->SetZ(self->floorz);
|
||||
fixedvec2 pos = self->Vec2Offset(
|
||||
|
|
|
@ -31,10 +31,8 @@ IMPLEMENT_CLASS(AGlassShard)
|
|||
|
||||
void P_SpawnDirt (AActor *actor, fixed_t radius)
|
||||
{
|
||||
fixed_t x,y,z;
|
||||
const PClass *dtype = NULL;
|
||||
AActor *mo;
|
||||
angle_t angle;
|
||||
|
||||
fixedvec3 pos = actor->Vec3Angle(radius, pr_dirt() << 24, (pr_dirt() << 9) + FRACUNIT);
|
||||
|
||||
|
|
|
@ -53,7 +53,6 @@ static FRandom pr_zap5 ("Zap5");
|
|||
DEFINE_ACTION_FUNCTION(AActor, A_SpectralLightning)
|
||||
{
|
||||
AActor *flash;
|
||||
fixed_t x, y;
|
||||
|
||||
if (self->threshold != 0)
|
||||
--self->threshold;
|
||||
|
|
|
@ -18,8 +18,6 @@ extern const PClass *QuestItemClasses[31];
|
|||
|
||||
DEFINE_ACTION_FUNCTION(AActor, A_Bang4Cloud)
|
||||
{
|
||||
fixed_t spawnx, spawny;
|
||||
|
||||
fixedvec3 pos = self->Vec3Offset((pr_bang4cloud.Random2() & 3) * 10240, (pr_bang4cloud.Random2() & 3) * 10240, 0);
|
||||
|
||||
Spawn("Bang4Cloud", pos, ALLOW_REPLACE);
|
||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue