summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/tmnt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/tmnt.cpp')
-rw-r--r--src/mame/video/tmnt.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/video/tmnt.cpp b/src/mame/video/tmnt.cpp
index e370f2150c8..6853335fc96 100644
--- a/src/mame/video/tmnt.cpp
+++ b/src/mame/video/tmnt.cpp
@@ -165,9 +165,9 @@ K05324X_CB_MEMBER(tmnt_state::lgtnfght_sprite_callback)
K05324X_CB_MEMBER(tmnt_state::blswhstl_sprite_callback)
{
#if 0
-if (machine().input().code_pressed(KEYCODE_Q) && (*color & 0x20)) *color = rand();
-if (machine().input().code_pressed(KEYCODE_W) && (*color & 0x40)) *color = rand();
-if (machine().input().code_pressed(KEYCODE_E) && (*color & 0x80)) *color = rand();
+if (machine().input().code_pressed(KEYCODE_Q) && (*color & 0x20)) *color = machine().rand();
+if (machine().input().code_pressed(KEYCODE_W) && (*color & 0x40)) *color = machine().rand();
+if (machine().input().code_pressed(KEYCODE_E) && (*color & 0x80)) *color = machine().rand();
#endif
int pri = 0x20 | ((*color & 0x60) >> 2);
if (pri <= m_layerpri[2])