1
0
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:
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; 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;