From cde94efdd44553f3f6575ce84b44c6799e1a1425 Mon Sep 17 00:00:00 2001 From: rtk0c Date: Fri, 6 May 2022 19:52:12 -0700 Subject: Changeset: 22 Improved camera and various cleanups --- source/Player.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/Player.cpp') diff --git a/source/Player.cpp b/source/Player.cpp index b37a232..34c4549 100644 --- a/source/Player.cpp +++ b/source/Player.cpp @@ -110,7 +110,7 @@ void Player::HandleKeyInput(int key, int action) { function(file, "attack=%d\n", fieldPrefix keybinds.keyAttack); static FILE* OpenPlayerConfigFile(Player* player, Utils::IoMode mode) { - char path[512]; + char path[2048]; snprintf(path, sizeof(path), "%s/player%d.txt", AppConfig::dataDir.c_str(), player->GetId()); return Utils::OpenCstdioFile(path, mode); -- cgit v1.2.3-70-g09d2