--- deliantra/server/include/treasure.h 2006/08/29 08:01:36 1.2 +++ deliantra/server/include/treasure.h 2006/08/31 17:54:14 1.3 @@ -71,9 +71,9 @@ */ typedef struct _change_arch { - const char *name; /* is != NULL, copy this over the original arch name */ - const char *title; /* is != NULL, copy this over the original arch name */ - const char *slaying; /* is != NULL, copy this over the original arch name */ + shstr name; /* is != NULL, copy this over the original arch name */ + shstr title; /* is != NULL, copy this over the original arch name */ + shstr slaying; /* is != NULL, copy this over the original arch name */ } _change_arch; @@ -86,7 +86,7 @@ typedef struct treasurestruct { struct archt *item; /* Which item this link can be */ - const char *name; /* If non null, name of list to use + shstr name; /* If non null, name of list to use instead */ struct treasurestruct *next; /* Next treasure-item in a linked list */ struct treasurestruct *next_yes; /* If this item was generated, use */ @@ -105,7 +105,7 @@ typedef struct treasureliststruct { - const char *name; /* Usually monster-name/combination */ + shstr name; /* Usually monster-name/combination */ sint16 total_chance; /* If non-zero, only 1 item on this * list should be generated. The * total_chance contains the sum of @@ -115,6 +115,4 @@ struct treasurestruct *items; /* Items in this list, linked */ } treasurelist; - - #endif