aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/scriptables/ScEngine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/wintermute/scriptables/ScEngine.cpp')
-rw-r--r--engines/wintermute/scriptables/ScEngine.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/wintermute/scriptables/ScEngine.cpp b/engines/wintermute/scriptables/ScEngine.cpp
index b5f66bbb14..bfdfb53fa0 100644
--- a/engines/wintermute/scriptables/ScEngine.cpp
+++ b/engines/wintermute/scriptables/ScEngine.cpp
@@ -667,7 +667,7 @@ HRESULT CScEngine::DbgSendScripts(IWmeDebugClient *Client) {
}
//////////////////////////////////////////////////////////////////////////
-HRESULT CScEngine::AddBreakpoint(char *ScriptFilename, int Line) {
+HRESULT CScEngine::AddBreakpoint(const char *ScriptFilename, int Line) {
if (!Game->GetDebugMgr()->_enabled) return S_OK;
CScBreakpoint *Bp = NULL;
@@ -694,7 +694,7 @@ HRESULT CScEngine::AddBreakpoint(char *ScriptFilename, int Line) {
}
//////////////////////////////////////////////////////////////////////////
-HRESULT CScEngine::RemoveBreakpoint(char *ScriptFilename, int Line) {
+HRESULT CScEngine::RemoveBreakpoint(const char *ScriptFilename, int Line) {
if (!Game->GetDebugMgr()->_enabled) return S_OK;
for (int i = 0; i < _breakpoints.GetSize(); i++) {