mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-25 02:47:40 +00:00
viewctr is no more... major reduction of redundancy/complexity
This commit is contained in:
@@ -112,7 +112,7 @@ void handleclick(MOBPAR_FORMAL) {
|
||||
ors::reset();
|
||||
centerpc(INF);
|
||||
View = Id;
|
||||
viewctr.at = cwt.at->master;
|
||||
centerover = cwt.at->master;
|
||||
}
|
||||
andmode = 11;
|
||||
}
|
||||
@@ -151,7 +151,7 @@ void handleclick(MOBPAR_FORMAL) {
|
||||
if(!playerfound) {
|
||||
centerpc(INF);
|
||||
View = Id;
|
||||
viewctr.at = cwt.at->master;
|
||||
centerover = cwt.at->master;
|
||||
}
|
||||
playermoved = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user