home · contact · privacy
Server: Explain in map_object_actions.h why MapObjAct.id must not be 0.
[plomrogue] / src / server / world.h
index dcd672aa38c1de2cf1abad5954fb9a6562828b3b..ed019f2fb25742f9e64b944d9eef71b3ac723119 100644 (file)
@@ -37,6 +37,7 @@ struct World
     uint16_t replay; /* Turn up to which to replay game. No replay if zero. */
     uint16_t turn; /* Current game turn. */
     uint16_t last_update_turn; /* Last turn the .path_out file was updated. */
+    uint8_t player_type; /* Map object type that player will start as. */
     uint8_t is_verbose; /* Should server send debugging info to stdout? */
     uint8_t map_obj_count; /* Counts map objects generated so far. */
 };