aboutsummaryrefslogtreecommitdiff
path: root/source/Player.cpp
diff options
context:
space:
mode:
authorrtk0c <[email protected]>2022-05-06 19:52:12 -0700
committerrtk0c <[email protected]>2022-05-06 19:52:12 -0700
commitcde94efdd44553f3f6575ce84b44c6799e1a1425 (patch)
tree593b9f280f2e223268f8d5c73f5d1dd1aba50c36 /source/Player.cpp
parent4c9f5ee706faa1435b7dc2f3b6d4753e1289c351 (diff)
Changeset: 22 Improved camera and various cleanups
Diffstat (limited to 'source/Player.cpp')
-rw-r--r--source/Player.cpp2
1 files changed, 1 insertions, 1 deletions
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);