Skip to content

Commit

Permalink
Revert "- Actor.GetSpecies() is a non-destructive function"
Browse files Browse the repository at this point in the history
This reverts commit ee5442c.
  • Loading branch information
madame-rachelle committed Oct 18, 2024
1 parent 758c0db commit c2fd99a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/rendering/hwrenderer/hw_entrypoint.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ sector_t* RenderView(player_t* player)
// Draw all canvases that changed
for (FCanvas* canvas : AllCanvases)
{
if (canvas->Tex && canvas->Tex->CheckNeedsUpdate())
if (canvas->Tex->CheckNeedsUpdate())
{
screen->RenderTextureView(canvas->Tex, [=](IntRect& bounds)
{
Expand Down
2 changes: 1 addition & 1 deletion wadsrc/static/zscript/actors/actor.zs
Original file line number Diff line number Diff line change
Expand Up @@ -854,7 +854,7 @@ class Actor : Thinker native
native int LookForEnemiesEx(out Array<Actor> targets, double range = -1, bool noPlayers = true, bool allaround = false, LookExParams params = null);
native bool TeleportMove(Vector3 pos, bool telefrag, bool modifyactor = true);
native clearscope double DistanceBySpeed(Actor other, double speed) const;
native clearscope name GetSpecies();
native name GetSpecies();
native void PlayActiveSound();
native void Howl();
native void DrawSplash (int count, double angle, int kind);
Expand Down

0 comments on commit c2fd99a

Please sign in to comment.