From d6ee7ec642cc6b3097c8d321a1a00630e24027d1 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sat, 16 Feb 2008 12:22:33 +0000 Subject: initial client-to-server connection --- src/client/console.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/client/console.cc') diff --git a/src/client/console.cc b/src/client/console.cc index c59f477..c352969 100644 --- a/src/client/console.cc +++ b/src/client/console.cc @@ -168,7 +168,7 @@ void draw() draw_text(CHARWIDTH, video::height*con_height - CHARHEIGHT - 4, (*history_pos)); // draw cursor - if ((core::time() - ::floorf(core::time())) < 0.5f) { + if ((core::application()->time() - ::floorf(core::application()->time())) < 0.5f) { std::string cursor("_"); draw_text(CHARWIDTH*(input_pos+1), video::height*con_height - CHARHEIGHT - 4 , cursor); } -- cgit v1.2.3