mirror of
https://github.com/DrBeef/Raze.git
synced 2025-02-01 05:20:43 +00:00
- VM interface cleanup
This commit is contained in:
parent
b712315ec3
commit
848d7fc16e
2 changed files with 2 additions and 5 deletions
|
@ -142,6 +142,7 @@ int callsound(sectortype* sectnum,DDukeActor* snum, bool endstate = false);
|
|||
double hitasprite(DDukeActor* snum,DDukeActor **hitSprite);
|
||||
int findplayer(const DDukeActor* s, double* dist);
|
||||
|
||||
[[deprecated]]
|
||||
inline int findplayer(const DDukeActor* s, int* dist)
|
||||
{
|
||||
double dd;
|
||||
|
|
|
@ -397,11 +397,7 @@ DEFINE_ACTION_FUNCTION_NATIVE(_DukePlayer, backuppos, dukeplayer_backuppos)
|
|||
|
||||
void dukeplayer_setpos(player_struct* self, double x, double y, double z)
|
||||
{
|
||||
/*
|
||||
self->pos.X = int(x * worldtoint);
|
||||
self->pos.Y = int(y * worldtoint);
|
||||
self->pos.Z = int(z * zworldtoint);
|
||||
*/
|
||||
self->pos = { x, y, z };
|
||||
}
|
||||
|
||||
DEFINE_ACTION_FUNCTION_NATIVE(_DukePlayer, setpos, dukeplayer_setpos)
|
||||
|
|
Loading…
Reference in a new issue