home · contact · privacy
Server: Remove .stomach thing type attribute, derive from .lifepoints.
[plomrogue] / src / server / god_commands.c
index d785d8cb0068663d29d606ef6f8cbdeb2d31a71f..d91cea32d01e848d711401f2ff068ac5f1ae7d4b 100644 (file)
@@ -95,12 +95,11 @@ static uint8_t parse_thingtype_manipulation(char * tok0, char * tok1)
         return err_line(1, "No thing type defined to manipulate yet.");
     }
     int16_t id;
-    if (   parse_val(tok0,tok1,s[S_CMD_TT_CONSUM],'8',(char *) &tt->consumable)
+    if (   parse_val(tok0,tok1,s[S_CMD_TT_CONSUM],'u',(char *) &tt->consumable)
         || parse_val(tok0,tok1,s[S_CMD_TT_HP],'8',(char *) &tt->lifepoints)
         || parse_val(tok0,tok1,s[S_CMD_TT_STARTN],'8',(char *) &tt->start_n)
         || parse_val(tok0,tok1,s[S_CMD_TT_SYMB],'c',(char *) &tt->char_on_map)
         || parse_val(tok0,tok1,s[S_CMD_TT_PROL],'8',(char *) &tt->proliferate)
-        || parse_val(tok0,tok1,s[S_CMD_TT_STOMACH], 'u', (char *) &tt->stomach)
         || parse_val(tok0,tok1,s[S_CMD_TT_NAME],'s',(char *) &tt->name))
     {
         ;