mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 00:42:08 +00:00
- Use DCorePlayer::GetActor()
inside of CCMD(warptocoords)
.
This commit is contained in:
parent
7e3a1dfb1e
commit
98e83fcc3a
1 changed files with 1 additions and 1 deletions
|
@ -728,7 +728,7 @@ CCMD(warptocoords)
|
|||
return;
|
||||
}
|
||||
|
||||
if (const auto pActor = PlayerArray[myconnectindex]->actor)
|
||||
if (const auto pActor = PlayerArray[myconnectindex]->GetActor())
|
||||
{
|
||||
pActor->spr.pos = DVector3(atof(argv[1]), atof(argv[2]), atof(argv[3]));
|
||||
if (argv.argc() > 4) pActor->spr.Angles.Yaw = DAngle::fromDeg(atof(argv[4]));
|
||||
|
|
Loading…
Reference in a new issue