X-Git-Url: https://plomlompom.com/repos/feed.xml?a=blobdiff_plain;f=src%2Fserver%2Fmap_object_actions.h;fp=src%2Fserver%2Fmap_object_actions.h;h=d3b88a36386dc64d5562f9242fd328e3089c91b1;hb=e430e9baabcde0c5ee373928ffb363bb452f6bb7;hp=983f1aabc35efaa9af04ac3705f17abc204620c8;hpb=6052be616897d692fc57ab15b56266b4b3f4668b;p=plomrogue diff --git a/src/server/map_object_actions.h b/src/server/map_object_actions.h index 983f1aa..d3b88a3 100644 --- a/src/server/map_object_actions.h +++ b/src/server/map_object_actions.h @@ -17,9 +17,9 @@ struct MapObjAct { struct MapObjAct * next; void (* func) (struct MapObj *); /* function called after .effort turns */ - char * name; /* human-readable identifier */ - uint8_t id; /* unique id of map object action */ - uint8_t effort; /* how many turns the action takes */ + char * name; /* human-readable identifier */ + uint8_t id; /* unique id of map object action; must be >0 */ + uint8_t effort; /* how many turns the action takes */ };