mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 23:01:50 +00:00
9 lines
400 B
Text
9 lines
400 B
Text
|
// This file contains compatibility wrappers for DECORATE functions with bad parameters.
|
||
|
|
||
|
extend class Actor
|
||
|
{
|
||
|
deprecated void A_CustomMissile(class<Actor> missiletype, double spawnheight = 32, double spawnofs_xy = 0, double angle = 0, int flags = 0, double pitch = 0, int ptr = AAPTR_TARGET)
|
||
|
{
|
||
|
A_SpawnProjectile(missiletype, spawnheight, spawnofs_xy, angle, flags|CMF_BADPITCH, pitch, ptr);
|
||
|
}
|
||
|
}
|