Skip to content

Commit

Permalink
Remove unnecessary code
Browse files Browse the repository at this point in the history
  • Loading branch information
Stradek committed Mar 3, 2024
1 parent 822eac4 commit a6aeff5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
5 changes: 0 additions & 5 deletions src/quakePatchingApi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,6 @@ DWORD_PTR QuakeModdingAPI::GetQuakeProcessBaseAddress()
return PatchingUtils::GetProcessBaseAddress(hProcess.GetHandle());
}

//DWORD_PTR QuakePatchingAPI::GetQuakeModuleBaseAddress(DWORD pid, const char* moduleName)
//{
// // placeholder for proper code
//}

void QuakeModdingAPI::SetAmmo(DWORD value)
{
PatchingUtils::SmartProcessHandle hProcess = PatchingUtils::SmartProcessHandle(GetQuakeProcessId());
Expand Down
1 change: 0 additions & 1 deletion src/quakePatchingApi.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,5 @@ class QuakeModdingAPI

bool Initialize();


void SetAmmo(DWORD value);
};

0 comments on commit a6aeff5

Please sign in to comment.