summaryrefslogtreecommitdiff
path: root/settings.h
diff options
context:
space:
mode:
Diffstat (limited to 'settings.h')
-rw-r--r--settings.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/settings.h b/settings.h
index 1eb26e2a0..0ab3ecef3 100644
--- a/settings.h
+++ b/settings.h
@@ -66,15 +66,6 @@ typedef enum {
IGT_LIST = 1, ///< a list of values, seperated by \n and terminated by the next group block
} IniGroupType;
-/** Get the address of the variable. Which one to pick depends on the object
- * pointer. If it is NULL we are dealing with global variables so the address
- * is taken. If non-null only the offset is stored in the union and we need
- * to add this to the address of the object */
-static inline void *ini_get_variable(const SaveLoad *sld, const void *object)
-{
- return (object == NULL) ? sld->address : (byte*)object + (ptrdiff_t)sld->address;
-}
-
/** The patch values that are used for new games and/or modified in config file */
extern Patches _patches_newgame;