home · contact · privacy
Heavily improved enemy path-finding. Also corrected errors in turn_over() and
[plomrogue] / src / server / map_object_actions.h
index 983f1aabc35efaa9af04ac3705f17abc204620c8..d3b88a36386dc64d5562f9242fd328e3089c91b1 100644 (file)
@@ -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 */
 };