mirror of
https://github.com/ZDoom/Raze.git
synced 2025-04-07 16:31:26 +00:00
- Use DCorePlayer::GetActor()
inside of CCMD(warptocoords)
.
This commit is contained in:
parent
0c13d4fe3a
commit
0f1f3d804f
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