diff options
Diffstat (limited to 'signs.h')
-rw-r--r-- | signs.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -57,9 +57,11 @@ static inline bool IsValidSignID(uint index) return index < GetSignPoolSize() && IsValidSign(GetSign(index)); } +void DestroySign(Sign *si); + static inline void DeleteSign(Sign *si) { - DeleteName(si->str); + DestroySign(si); si->str = STR_NULL; } |