Skip to content

Commit 0f2af4c

Browse files
committed
document cleanragdoll
1 parent 29ad29d commit 0f2af4c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/engine/model/ragdoll.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -283,6 +283,13 @@ class ragdolldata final
283283
static bool collidevert(const vec &pos, const vec &dir, float radius, vec &cwall);
284284
};
285285

286+
/**
287+
* @brief Deletes the heap-allocated ragdoll associated with the passed dynent.
288+
*
289+
* If there is no ragdoll associated with `d`, then there is no effect.
290+
*
291+
* @param d the dynent to delete the ragdoll of
292+
*/
286293
extern void cleanragdoll(dynent *d);
287294

288295
#endif

0 commit comments

Comments
 (0)