home · contact · privacy
Fixed bug that led to endless loop in nearest_enemy_dir().
[plomrogue] / src / main.h
index f3670b24324fb9286dccb9adc2697560ff1f9a75..1ade736826d9ce196a5be682403996ddf94351cc 100644 (file)
@@ -10,7 +10,6 @@
 #include "keybindings.h" /* for KeyBiData struct */
 struct WinMeta;
 struct WinConf;
-struct Win;
 struct Map;
 struct MapObjDef;
 struct MapObj;
@@ -37,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;