1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-18 11:19:59 +00:00

racing:: disabled rotation with mouse in 2D3D

This commit is contained in:
Zeno Rogue 2019-05-11 23:56:24 +02:00
parent 7669633fbf
commit 221ba3f01d

View File

@ -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;