mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-10 07:12:07 +00:00
Machen wir es ein wenig eindeutiger
This commit is contained in:
parent
ea789d8d97
commit
9c3b11561e
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ FIXME: this use of "area" is different from the bsp file use
|
|||
*/
|
||||
|
||||
// FIXME: remove this mess!
|
||||
#define STRUCT_FROM_LINK(l,t,m) ((t *)((byte *)l - (int)&(((t *)0)->m)))
|
||||
#define STRUCT_FROM_LINK(l,t,m) ((t *)((byte *)l - (int)&(((t *)NULL)->m)))
|
||||
|
||||
#define EDICT_FROM_AREA(l) STRUCT_FROM_LINK(l,edict_t,area)
|
||||
|
||||
|
|
Loading…
Reference in a new issue