Mercurial > hg > forks > yadex
comparison src/l_super.h @ 79:0602d9bf474a
Various cleanups.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 26 Sep 2011 17:14:54 +0300 |
parents | a68786b9c74b |
children |
comparison
equal
deleted
inserted
replaced
78:626678d4ecf3 | 79:0602d9bf474a |
---|---|
96 repetitive table lookups. Everything is re-computed each time as | 96 repetitive table lookups. Everything is re-computed each time as |
97 LineDefs could very well be realloc'd while we were out. */ | 97 LineDefs could very well be realloc'd while we were out. */ |
98 | 98 |
99 if (!is_linedef(refldno)) | 99 if (!is_linedef(refldno)) |
100 return -1; | 100 return -1; |
101 const struct LineDef *const pmax = LineDefs + NumLineDefs; | |
102 const struct LineDef *const pref = LineDefs + refldno; | 101 const struct LineDef *const pref = LineDefs + refldno; |
103 | 102 |
104 const wad_vn_t refv0 = pref->start; | 103 const wad_vn_t refv0 = pref->start; |
105 const wad_vn_t refv1 = pref->end; | 104 const wad_vn_t refv1 = pref->end; |
106 if (!is_vertex(refv0) || !is_vertex(refv1)) // Paranoia | 105 if (!is_vertex(refv0) || !is_vertex(refv1)) // Paranoia |