1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-05-15 18:52:07 +00:00

fixed the joystick bug (also 10.1c)

This commit is contained in:
Zeno Rogue
2017-10-16 01:22:24 +02:00
parent e06a3cc68a
commit 30c095fde8
3 changed files with 12 additions and 12 deletions
+1 -1
View File
@@ -4550,7 +4550,7 @@ void drawMarkers() {
queuecircleat(global_pushto, .6, darkena(0xFFD500, 0, 0xFF));
}
#if CAP_JOY
#if CAP_SDLJOY
if(joydir.d >= 0)
queuecircleat(cwt.c->mov[(joydir.d+cwt.spin) % cwt.c->type], .78 - .02 * sin(ticks/199.0),
darkena(0x00FF00, 0, 0xFF));