mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-02-16 17:21:10 +00:00
- Actor.GetSpecies() is a non-destructive function
This commit is contained in:
parent
cca1946201
commit
ffcce790de
2 changed files with 2 additions and 2 deletions
|
@ -362,7 +362,7 @@ sector_t* RenderView(player_t* player)
|
|||
// Draw all canvases that changed
|
||||
for (FCanvas* canvas : AllCanvases)
|
||||
{
|
||||
if (canvas->Tex->CheckNeedsUpdate())
|
||||
if (canvas->Tex && canvas->Tex->CheckNeedsUpdate())
|
||||
{
|
||||
screen->RenderTextureView(canvas->Tex, [=](IntRect& bounds)
|
||||
{
|
||||
|
|
|
@ -853,7 +853,7 @@ class Actor : Thinker native
|
|||
native bool LookForPlayers(bool allaround, LookExParams params = null);
|
||||
native bool TeleportMove(Vector3 pos, bool telefrag, bool modifyactor = true);
|
||||
native clearscope double DistanceBySpeed(Actor other, double speed) const;
|
||||
native name GetSpecies();
|
||||
native clearscope name GetSpecies();
|
||||
native void PlayActiveSound();
|
||||
native void Howl();
|
||||
native void DrawSplash (int count, double angle, int kind);
|
||||
|
|
Loading…
Reference in a new issue