- Added spawnofs_z parameter to A_RailAttack and A_CustomRailgun.

SVN r4191 (trunk)
This commit is contained in:
Randy Heit 2013-03-20 03:36:45 +00:00
commit 53e73783e0
6 changed files with 15 additions and 13 deletions

View file

@ -467,7 +467,7 @@ DEFINE_ACTION_FUNCTION(AActor, A_FirePlasma)
//
// [RH] A_FireRailgun
//
static void FireRailgun(AActor *self, int RailOffset)
static void FireRailgun(AActor *self, int offset_xy)
{
int damage;
player_t *player;
@ -492,7 +492,7 @@ static void FireRailgun(AActor *self, int RailOffset)
damage = deathmatch ? 100 : 150;
P_RailAttack (self, damage, RailOffset);
P_RailAttack (self, damage, offset_xy);
}