summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/acr.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/acr.cc')
-rw-r--r--crawl-ref/source/acr.cc18
1 files changed, 1 insertions, 17 deletions
diff --git a/crawl-ref/source/acr.cc b/crawl-ref/source/acr.cc
index 3b4acebf86..24de663cae 100644
--- a/crawl-ref/source/acr.cc
+++ b/crawl-ref/source/acr.cc
@@ -160,7 +160,6 @@ static void open_door(int move_x, int move_y, bool check_confused = true);
static void start_running( int dir, int mode );
static void close_door(int move_x, int move_y);
-static void init_io();
static void prep_input();
static void input();
static void middle_input();
@@ -324,21 +323,6 @@ int main( int argc, char *argv[] )
return 0;
} // end main()
-static void init_io()
-{
-#ifdef UNIX
- unixcurses_startup();
-#endif
-
-#ifdef WIN32CONSOLE
- init_libw32c();
-#endif
-
-#ifdef DOS
- init_libdos();
-#endif
-}
-
#ifdef WIZARD
static void handle_wizard_command( void )
{
@@ -2682,7 +2666,7 @@ static bool initialise(void)
// Read special levels and vaults.
read_maps();
- init_io();
+ cio_init();
#ifdef USE_MACROS
// Load macros