diff --git a/Source/objdat.cpp b/Source/objdat.cpp index 63f762580..606e1de51 100644 --- a/Source/objdat.cpp +++ b/Source/objdat.cpp @@ -151,7 +151,7 @@ const _object_id ObjTypeConv[] = { }; /** Contains the data related to each object ID. */ -const ObjDataStruct AllObjects[] = { +const ObjectData AllObjects[] = { // clang-format off // oload, ofindex, ominlvl, omaxlvl, olvltype, otheme, oquest, oAnimFlag, oAnimDelay, oAnimLen, oAnimWidth, oSolidFlag, oMissFlag, oLightFlag, oBreak, oSelFlag, oTrapFlag { 1, OFILE_L1BRAZ, 1, 4, DTYPE_CATHEDRAL, THEME_NONE, Q_INVALID, 1, 1, 26, 64, true, true, false, 0, 0, false }, diff --git a/Source/objdat.h b/Source/objdat.h index a8cf03a1a..ff51c7758 100644 --- a/Source/objdat.h +++ b/Source/objdat.h @@ -223,7 +223,7 @@ enum quest_id : int8_t { Q_INVALID = -1, }; -struct ObjDataStruct { +struct ObjectData { int oload; // Todo create enum object_graphic_id ofindex; int8_t ominlvl; @@ -244,7 +244,7 @@ struct ObjDataStruct { }; extern const _object_id ObjTypeConv[]; -extern const ObjDataStruct AllObjects[]; +extern const ObjectData AllObjects[]; extern const char *const ObjMasterLoadList[]; extern const char *ObjCryptLoadList[]; extern const char *ObjHiveLoadList[];