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:
parent
f723a8d419
commit
9588dfcc50
@ -208,7 +208,7 @@ EX namespace dialog {
|
||||
addSelItem(body, ONOFF(value), key);
|
||||
}
|
||||
|
||||
EX int displaycolor(unsigned col) {
|
||||
EX int displaycolor(color_t col) {
|
||||
int c = col >> 8;
|
||||
if(!c) return 0x181818;
|
||||
return c;
|
||||
|
Loading…
Reference in New Issue
Block a user