- let's make some use of AActor::Pos and get rid of some of those X() and Y() calls...
- restore proper actor.h file.
This commit is contained in:
parent
460751653d
commit
c1b44a5694
18 changed files with 81 additions and 66 deletions
|
|
@ -4281,7 +4281,7 @@ void FParser::SF_SpawnShot2(void)
|
|||
|
||||
t_return.type = svt_mobj;
|
||||
|
||||
AActor *mo = Spawn (PClass, source->X(), source->Y(), source->Z()+z, ALLOW_REPLACE);
|
||||
AActor *mo = Spawn (PClass, source->PosPlusZ(z), ALLOW_REPLACE);
|
||||
if (mo)
|
||||
{
|
||||
S_Sound (mo, CHAN_VOICE, mo->SeeSound, 1, ATTN_NORM);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue