mirror of
https://github.com/TTimo/doom3.gpl.git
synced 2026-03-19 16:39:24 +01:00
Fix constant string parameter.
The methode LoadScript of idItemTeam is now const compliant. Signed-off-by: XoD <xoddark@gmail.com>
This commit is contained in:
@@ -772,7 +772,7 @@ void idItemTeam::Spawn( void ) {
|
||||
idItemTeam::LoadScript
|
||||
===============
|
||||
*/
|
||||
function_t * idItemTeam::LoadScript( char * script ) {
|
||||
function_t * idItemTeam::LoadScript( const char * script ) {
|
||||
function_t * function = NULL;
|
||||
idStr funcname = spawnArgs.GetString( script, "" );
|
||||
if ( funcname.Length() ) {
|
||||
|
||||
Reference in New Issue
Block a user