src/signs.h
changeset 8754 5dae65402806
parent 7992 8ac3fcd8d570
child 8764 65746a5248ec
--- a/src/signs.h	Sat Jan 12 19:33:25 2008 +0000
+++ b/src/signs.h	Sat Jan 12 19:58:06 2008 +0000
@@ -11,7 +11,7 @@
 DECLARE_OLD_POOL(Sign, Sign, 2, 16000)
 
 struct Sign : PoolItem<Sign, SignID, &_Sign_pool> {
-	StringID     str;
+	char *name;
 	ViewportSign sign;
 	int32        x;
 	int32        y;
@@ -21,12 +21,12 @@
 	/**
 	 * Creates a new sign
 	 */
-	Sign(StringID string = STR_NULL);
+	Sign(PlayerID owner = INVALID_PLAYER);
 
 	/** Destroy the sign */
 	~Sign();
 
-	inline bool IsValid() const { return this->str != STR_NULL; }
+	inline bool IsValid() const { return this->owner != INVALID_PLAYER; }
 };
 
 enum {