summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--crawl-ref/source/spells3.cc4
-rw-r--r--crawl-ref/source/spells3.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/spells3.cc b/crawl-ref/source/spells3.cc
index 0987840647..a64d074af9 100644
--- a/crawl-ref/source/spells3.cc
+++ b/crawl-ref/source/spells3.cc
@@ -1614,10 +1614,10 @@ static bool _teleport_player( bool allow_control, bool new_abyss_area )
}
#endif
- return !is_controlled;
+ return (!is_controlled);
}
-void you_teleport_now( bool allow_control, bool new_abyss_area )
+void you_teleport_now(bool allow_control, bool new_abyss_area)
{
const bool randtele = _teleport_player(allow_control, new_abyss_area);
diff --git a/crawl-ref/source/spells3.h b/crawl-ref/source/spells3.h
index 0d47622da8..7880cd1b36 100644
--- a/crawl-ref/source/spells3.h
+++ b/crawl-ref/source/spells3.h
@@ -65,7 +65,7 @@ bool cast_haunt(int pow, const coord_def& where, god_type god = GOD_NO_GOD);
bool cast_death_channel(int pow, god_type god = GOD_NO_GOD);
void you_teleport();
-void you_teleport_now( bool allow_control, bool new_abyss_area = false );
+void you_teleport_now(bool allow_control, bool new_abyss_area = false);
#endif