diff options
author | hnOsmium0001 <[email protected]> | 2022-05-06 19:52:12 -0700 |
---|---|---|
committer | hnOsmium0001 <[email protected]> | 2022-05-06 19:52:12 -0700 |
commit | d98a4159d86406a47628aa58bae9f3308fea4fd0 (patch) | |
tree | 4b5ee8aef4a099503801ea731e6fb3c724433cdf /source/Player.cpp | |
parent | e663fb70fa47764db4576315b78143b6d23ddfa3 (diff) |
Improved camera and various cleanups
Diffstat (limited to 'source/Player.cpp')
-rw-r--r-- | source/Player.cpp | 2 |
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); |