Skip to content

Commit

Permalink
Increased szModel limit to 128
Browse files Browse the repository at this point in the history
Fixes weapon models
  • Loading branch information
LeadKiller committed Aug 4, 2019
1 parent f9780ca commit e77d04b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Binary file modified plugins/TF2Sandbox-SaveSystem.smx
Binary file not shown.
4 changes: 2 additions & 2 deletions scripting/TF2Sandbox-SaveSystem.sp
Original file line number Diff line number Diff line change
Expand Up @@ -1502,7 +1502,7 @@ void SaveData(int client, int slot) // Save Data from data file (CLIENT INDEX, S
g_iCountEntity = 0;

float fOrigin[3], fAngles[3], fSize, flPlaybackRate;
char szModel[64], szTime[64], szClass[64], szName[128];
char szModel[128], szTime[64], szClass[64], szName[128];
int iCollision, iRed, iGreen, iBlue, iAlpha, iRenderFx, iSkin, iSequence;
RenderFx EntityRenderFx;

Expand Down Expand Up @@ -1891,7 +1891,7 @@ public void Sql_SaveData(int client)
GetClientSteamID(client, SteamID);
char GetData[1024];
float fOrigin[3], fAngles[3], fSize, flPlaybackRate;
char szModel[64], szClass[64], szName[128];
char szModel[128], szClass[64], szName[128];
int iCollision, iRed, iGreen, iBlue, iAlpha, iRenderFx, iSkin, iSequence;
RenderFx EntityRenderFx;
for (int i = MaxClients; i < MAX_HOOK_ENTITIES; i++)if (IsValidEdict(i))
Expand Down

0 comments on commit e77d04b

Please sign in to comment.