mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-24 01:00:25 +00:00
racing:: disabled rotation with mouse in 2D3D
This commit is contained in:
parent
7669633fbf
commit
221ba3f01d
@ -1691,8 +1691,8 @@ void movePlayer(monster *m, int delta) {
|
||||
|
||||
bool blown = m->blowoff > curtime;
|
||||
|
||||
if(WDIM == 2 && GDIM == 3 && !lctrlclick && cpid == 0 && !racing::on) {
|
||||
playerturn[cpid] -= mouseaim_x;
|
||||
if(WDIM == 2 && GDIM == 3 && !lctrlclick && cpid == 0) {
|
||||
if(!racing::on) playerturn[cpid] -= mouseaim_x;
|
||||
playerturny[cpid] -= mouseaim_y;
|
||||
mouseaim_x = 0;
|
||||
mouseaim_y = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user