mirror of https://github.com/ZDoom/gzdoom-gles.git
parent
3d8d176087
commit
5c105c0cad
|
@ -27,6 +27,6 @@ DEFINE_ACTION_FUNCTION(AActor, A_MWandAttack)
|
||||||
{
|
{
|
||||||
AActor *mo;
|
AActor *mo;
|
||||||
|
|
||||||
mo = P_SpawnPlayerMissile (self, RUNTIME_CLASS(AMageWandMissile));
|
mo = P_SpawnPlayerMissile (self, PClass::FindClass("MageWandMissile"));
|
||||||
S_Sound (self, CHAN_WEAPON, "MageWandFire", 1, ATTN_NORM);
|
S_Sound (self, CHAN_WEAPON, "MageWandFire", 1, ATTN_NORM);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue