signs.h
changeset 1330 8a67d04016ce
parent 1283 b9569cc0644f
child 1575 a566a645401f
--- a/signs.h	Sun Feb 06 22:25:27 2005 +0000
+++ b/signs.h	Sun Feb 06 22:36:08 2005 +0000
@@ -18,6 +18,14 @@
 extern MemoryPool _sign_pool;
 
 /**
+ * Check if a Sign really exists.
+ */
+static inline bool IsValidSign(SignStruct* ss)
+{
+	return ss->str != 0;
+}
+
+/**
  * Get the pointer to the sign with index 'index'
  */
 static inline SignStruct *GetSign(uint index)