mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-24 17:10:36 +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;
|
bool blown = m->blowoff > curtime;
|
||||||
|
|
||||||
if(WDIM == 2 && GDIM == 3 && !lctrlclick && cpid == 0 && !racing::on) {
|
if(WDIM == 2 && GDIM == 3 && !lctrlclick && cpid == 0) {
|
||||||
playerturn[cpid] -= mouseaim_x;
|
if(!racing::on) playerturn[cpid] -= mouseaim_x;
|
||||||
playerturny[cpid] -= mouseaim_y;
|
playerturny[cpid] -= mouseaim_y;
|
||||||
mouseaim_x = 0;
|
mouseaim_x = 0;
|
||||||
mouseaim_y = 0;
|
mouseaim_y = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user