home · contact · privacy
Fixed bug that led to endless loop in nearest_enemy_dir().
[plomrogue] / src / main.h
index 5ef6a0e963d550cb9dcc3b22d3031d20316db4c4..1ade736826d9ce196a5be682403996ddf94351cc 100644 (file)
@@ -36,7 +36,7 @@ struct World
     uint8_t map_obj_count;            /* Counts map objects generated so far. */
     struct MapObjDef * map_obj_defs;  /* Map object type definitions chain. */
     struct MapObj * map_objs;         /* Pointer to map objects chain start. */
-    uint8_t inventory_select;         /* Player's inventory selection index. */
+    uint8_t inventory_sel;            /* Player's inventory selection index. */
     struct MapObjAct * map_obj_acts;  /* Pointer to map object actions chain. */
 } world;