Skip to content

Commit

Permalink
CodeQL hotfix
Browse files Browse the repository at this point in the history
Commented out one line from cmdswapweap.cpp.
  • Loading branch information
ryfactor authored Dec 21, 2023
1 parent 4bf192f commit 2a00e54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Main/Source/cmdswapweap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ truth commandsystem::SwapWeaponsCfg(character* Char)
}else
if(bMaintenanceMode && Selected==iKeyUndoLastRm){DBGLN;
vSWCfg.push_back(vSWCfgRemoved[vSWCfgRemoved.size()-1]);
vSWCfgRemoved.erase(vSWCfgRemoved.end());//-1);
//vSWCfgRemoved.erase(vSWCfgRemoved.end());//-1);
}else
if(Selected==iKeyMaintenance){
bMaintenanceMode=true;
Expand Down

0 comments on commit 2a00e54

Please sign in to comment.