1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-01-22 23:17:04 +00:00

changed argument type in displaycolor to color_t

This commit is contained in:
Zeno Rogue 2019-08-09 23:53:20 +02:00
parent f723a8d419
commit 9588dfcc50

View File

@ -208,7 +208,7 @@ EX namespace dialog {
addSelItem(body, ONOFF(value), key); addSelItem(body, ONOFF(value), key);
} }
EX int displaycolor(unsigned col) { EX int displaycolor(color_t col) {
int c = col >> 8; int c = col >> 8;
if(!c) return 0x181818; if(!c) return 0x181818;
return c; return c;