FULLPIPE: Fix compilation

This commit is contained in:
Eugene Sandulenko 2014-06-09 22:48:34 +03:00
parent 729810bbc1
commit bd63ee2c4e

View File

@ -432,7 +432,7 @@ void FullpipeEngine::playTrack(GameVar *sceneVar, const char *name, bool delayed
while (sub) {
if (_musicAllowed & sub->_value.intValue) {
strcpy(_sceneTracks[_numSceneTracks], sub->_varName, 260);
strncpy(_sceneTracks[_numSceneTracks], sub->_varName, 260);
_numSceneTracks++;
}