1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-06-10 10:24:06 +00:00

Remove semicolons from after } that close functons.

This commit is contained in:
Jacob Mandelson 2023-10-16 21:02:54 -07:00
parent 5fb0099fbb
commit db72295775
4 changed files with 5 additions and 5 deletions

View File

@ -554,7 +554,7 @@ EX string geometry_name() {
return geometry_name(ginf[geometry].cclass) + dim_name(); return geometry_name(ginf[geometry].cclass) + dim_name();
else else
return geometry_name(ginf[geometry].cclass); return geometry_name(ginf[geometry].cclass);
}; }
EX void select_quotient_screen() { EX void select_quotient_screen() {
cmode = sm::SIDE | sm::MAYDARK; cmode = sm::SIDE | sm::MAYDARK;

View File

@ -3412,7 +3412,7 @@ EX bool lie_movement_available() {
if(nonisotropic && !embedded_plane) return true; if(nonisotropic && !embedded_plane) return true;
if(mhyperbolic && bt::in()) return true; if(mhyperbolic && bt::in()) return true;
return false; return false;
}; }
EX hyperpoint lie_log(const shiftpoint h1) { EX hyperpoint lie_log(const shiftpoint h1) {
hyperpoint h = unshift(h1); hyperpoint h = unshift(h1);

View File

@ -82,12 +82,12 @@ EX }
transmatrix sfix_rgpushxto0(hyperpoint h) { transmatrix sfix_rgpushxto0(hyperpoint h) {
if(stretch::applicable() && !fake::in()) return stretch::translate(h); if(stretch::applicable() && !fake::in()) return stretch::translate(h);
return rgpushxto0(h); return rgpushxto0(h);
}; }
transmatrix sfix_gpushxto0(hyperpoint h) { transmatrix sfix_gpushxto0(hyperpoint h) {
if(stretch::applicable() && !fake::in()) return stretch::itranslate(h); if(stretch::applicable() && !fake::in()) return stretch::itranslate(h);
return gpushxto0(h); return gpushxto0(h);
}; }
#if MAXMDIM >= 4 #if MAXMDIM >= 4
void subcellshape::compute_sub() { void subcellshape::compute_sub() {

View File

@ -384,7 +384,7 @@ EX hookset<bool(celldrawer *cd)> hooks_ceiling;
EX void g_add_to_sky(cell *c, shiftmatrix& V, color_t col, color_t col2) { EX void g_add_to_sky(cell *c, shiftmatrix& V, color_t col, color_t col2) {
if(sky) sky->sky.emplace_back(c, V, col, col2); if(sky) sky->sky.emplace_back(c, V, col, col2);
}; }
void celldrawer::draw_ceiling() { void celldrawer::draw_ceiling() {