summaryrefslogtreecommitdiff
path: root/src/client/inputhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/inputhandler.cpp')
-rw-r--r--src/client/inputhandler.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/client/inputhandler.cpp b/src/client/inputhandler.cpp
index 9c7a94c4e..b176f3ad7 100644
--- a/src/client/inputhandler.cpp
+++ b/src/client/inputhandler.cpp
@@ -102,8 +102,7 @@ bool MyEventReceiver::OnEvent(const SEvent &event)
};
assert(event.LogEvent.Level < ARRLEN(irr_loglev_conv));
g_logger.log(irr_loglev_conv[event.LogEvent.Level],
- std::string("Irrlicht: ") +
- (const char *)event.LogEvent.Text);
+ std::string("Irrlicht: ") + event.LogEvent.Text);
return true;
}
/* always return false in order to continue processing events */