Skip to content

Commit

Permalink
Make CopyBloodColor readonly
Browse files Browse the repository at this point in the history
Allows getting blood colors from default Actors.
  • Loading branch information
Boondorl authored and madame-rachelle committed Jan 31, 2025
1 parent 987a07b commit 59ac494
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wadsrc/static/zscript/actors/actor.zs
Original file line number Diff line number Diff line change
Expand Up @@ -1302,7 +1302,7 @@ class Actor : Thinker native
native bool A_SetSize(double newradius = -1, double newheight = -1, bool testpos = false);
native void A_SprayDecal(String name, double dist = 172, vector3 offset = (0, 0, 0), vector3 direction = (0, 0, 0), bool useBloodColor = false, color decalColor = 0, TranslationID translation = 0);
native void A_SetMugshotState(String name);
native void CopyBloodColor(Actor other);
native void CopyBloodColor(readonly<Actor> other);

native void A_RearrangePointers(int newtarget, int newmaster = AAPTR_DEFAULT, int newtracer = AAPTR_DEFAULT, int flags=0);
native void A_TransferPointer(int ptr_source, int ptr_recipient, int sourcefield, int recipientfield=AAPTR_DEFAULT, int flags=0);
Expand Down

0 comments on commit 59ac494

Please sign in to comment.