Skip to content

Commit edbe824

Browse files
committed
Make CopyBloodColor readonly
Allows getting blood colors from default Actors.
1 parent 987a07b commit edbe824

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wadsrc/static/zscript/actors/actor.zs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1302,7 +1302,7 @@ class Actor : Thinker native
13021302
native bool A_SetSize(double newradius = -1, double newheight = -1, bool testpos = false);
13031303
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);
13041304
native void A_SetMugshotState(String name);
1305-
native void CopyBloodColor(Actor other);
1305+
native void CopyBloodColor(readonly<Actor> other);
13061306

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

0 commit comments

Comments
 (0)