X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fscripting%2Fsquirrel_error.cpp;h=d3445ccab973f9466e515a327a54f1b9ecf5fa34;hb=a0979a3ef7e5d8d9c34ee26ca6f1301f3c42df69;hp=f83964113902ecd4bf43cf019a5ec78775a59029;hpb=13e56e5b8d9727128667bb42c3aa4850b4a8dd00;p=supertux.git diff --git a/src/scripting/squirrel_error.cpp b/src/scripting/squirrel_error.cpp index f83964113..d3445ccab 100644 --- a/src/scripting/squirrel_error.cpp +++ b/src/scripting/squirrel_error.cpp @@ -19,11 +19,11 @@ namespace scripting { -SquirrelError::SquirrelError(HSQUIRRELVM v, const std::string& message) throw() : +SquirrelError::SquirrelError(HSQUIRRELVM v, const std::string& message_) throw() : message() { std::ostringstream msg; - msg << "Squirrel error: " << message << " ("; + msg << "Squirrel error: " << message_ << " ("; const char* lasterr; sq_getlasterror(v); if(sq_gettype(v, -1) != OT_STRING)