mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-24 17:10:36 +00:00
Turn C-style casts into reinterpret_casts for clarity. NFC.
This commit is contained in:
parent
2461b29ea2
commit
5cc8a41beb
@ -595,7 +595,7 @@ transmatrix otherbodyparts(const transmatrix& V, color_t col, eMonster who, doub
|
|||||||
#define VAHEAD mmscale(V, cgi.AHEAD)
|
#define VAHEAD mmscale(V, cgi.AHEAD)
|
||||||
|
|
||||||
#define VFISH V
|
#define VFISH V
|
||||||
#define VBIRD ((GDIM == 3 || (where && bird_disruption(where))) ? (WDIM == 2 ? mmscale(V, cgi.BIRD) : V) : mmscale(V, cgi.BIRD + .05 * sintick(1000, (int) (size_t(where))/1000.)))
|
#define VBIRD ((GDIM == 3 || (where && bird_disruption(where))) ? (WDIM == 2 ? mmscale(V, cgi.BIRD) : V) : mmscale(V, cgi.BIRD + .05 * sintick(1000, static_cast<int>(reinterpret_cast<size_t>(where))/1000.)))
|
||||||
#define VGHOST mmscale(V, cgi.GHOST)
|
#define VGHOST mmscale(V, cgi.GHOST)
|
||||||
|
|
||||||
#define VSLIMEEYE mscale(V, cgi.FLATEYE)
|
#define VSLIMEEYE mscale(V, cgi.FLATEYE)
|
||||||
|
Loading…
Reference in New Issue
Block a user