diff options
| -rw-r--r-- | engines/cruise/ctp.cpp | 4 | ||||
| -rw-r--r-- | engines/cruise/function.cpp | 2 | 
2 files changed, 3 insertions, 3 deletions
| diff --git a/engines/cruise/ctp.cpp b/engines/cruise/ctp.cpp index be4639af4d..11d5f582ed 100644 --- a/engines/cruise/ctp.cpp +++ b/engines/cruise/ctp.cpp @@ -209,9 +209,9 @@ int setNodeState(int nodeIdx, int nodeState) {  	int oldState = walkboxState[nodeIdx];  	if (nodeState == -1) -		return +		return oldState; -		    walkboxState[nodeIdx] = nodeState; +	walkboxState[nodeIdx] = nodeState;  	return oldState;  } diff --git a/engines/cruise/function.cpp b/engines/cruise/function.cpp index eab69c6846..d0443ef458 100644 --- a/engines/cruise/function.cpp +++ b/engines/cruise/function.cpp @@ -828,7 +828,7 @@ int16 Op_Preload(void) {  }  int16 Op_LoadCt(void) { -	return initCt((char*)popPtr()); +	return initCt((const char *)popPtr());  }  int16 Op_EndAnim(void) { | 
