updated mobile parts of init.cpp

This commit is contained in:
Zeno Rogue 2018-08-25 00:01:46 +02:00
parent d66207f5cc
commit c10985dd4a
2 changed files with 4 additions and 7 deletions

View File

@ -58,9 +58,6 @@ void gdpush(int t);
void shareScore(MOBPAR_FORMAL);
const char *scorefile, *conffile;
std::string levelfile, picfile;
bool settingsChanged = false;
struct transmatrix getOrientation();

View File

@ -150,9 +150,9 @@ void handleclick(MOBPAR_FORMAL) {
else if(statkeys && getcstat == 't') {
if(playermoved && items[itStrongWind]) {
cell *c = whirlwind::jumpDestination(cwt.at);
if(c) centerover.c = c, centerover.spin = 0;
if(c) centerover.at = c, centerover.spin = 0;
}
targetRangedOrb(centerover.c, roKeyboard);
targetRangedOrb(centerover.at, roKeyboard);
getcstat = 0;
}
@ -172,7 +172,7 @@ void handleclick(MOBPAR_FORMAL) {
ors::reset();
centerpc(INF);
View = Id;
viewctr.h = cwt.at->master;
viewctr.at = cwt.at->master;
}
andmode = 11;
}
@ -207,7 +207,7 @@ void handleclick(MOBPAR_FORMAL) {
if(!playerfound) {
centerpc(INF);
View = Id;
viewctr.h = cwt.at->master;
viewctr.at = cwt.at->master;
}
playermoved = true;
}