From 089c1ff00cd783f9b14ab548813a94cc33aeaed5 Mon Sep 17 00:00:00 2001 From: krzys-h Date: Fri, 15 Jan 2016 19:59:03 +0100 Subject: [PATCH] Fixed crash in CBotStack::BreakReturn --- src/CBot/CBotStack.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CBot/CBotStack.h b/src/CBot/CBotStack.h index 61942dd2..c90d0bfe 100644 --- a/src/CBot/CBotStack.h +++ b/src/CBot/CBotStack.h @@ -276,7 +276,7 @@ public: * * in case of eventual break */ - bool BreakReturn(CBotStack* pfils, const std::string& name = nullptr); + bool BreakReturn(CBotStack* pfils, const std::string& name = ""); /** * \todo Document *