diff options
Diffstat (limited to 'sword2/anims.cpp')
-rw-r--r-- | sword2/anims.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sword2/anims.cpp b/sword2/anims.cpp index 22e8a55d54..7d7826956a 100644 --- a/sword2/anims.cpp +++ b/sword2/anims.cpp @@ -639,7 +639,7 @@ int32 Logic::fnPlaySequence(int32 *params) { // add the appropriate file extension & play it - sprintf(filename, "%s.smk", (const char *) _vm->_memory->intToPtr(params[0])); + strcpy(filename, (const char *) _vm->_memory->intToPtr(params[0])); // Write to walkthrough file (zebug0.txt) debug(5, "PLAYING SEQUENCE \"%s\"", filename); |