Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
CanResurrect virtual #620
Added CanResurrect(Actor other, bool passive)
Also added A_RaiseActor(Actor other, int flags), a pointer friendly edition for ZScript's sake.
Fixed an inconsistency where P_Thing_Raise returned true if no raise state was found, while P_Thing_CanRaise returned false. P_Thing_Raise now returns false.
coelckers left a comment
The A_ prefix should be reserved for DECORATE callable functions. A_RaiseActor cannot be called from DECORATE because one parameter is an actor pointer so it shouldn't have that prefix and block later implementation of a truly compatible variant.