mirror of
https://github.com/ZDoom/Raze.git
synced 2025-03-23 17:31:14 +00:00
- Duke: Pass HUD offsets to bike/moto drawers by const reference.
This commit is contained in:
parent
f278a29fad
commit
312b649d93
1 changed files with 2 additions and 2 deletions
|
@ -78,7 +78,7 @@ void displaymasks_r(int snum, int p, double interpfrac)
|
|||
//
|
||||
//---------------------------------------------------------------------------
|
||||
|
||||
void DrawMotorCycle(int const kb, DVector2 offsets, DAngle angle, int shade, int pal)
|
||||
void DrawMotorCycle(int const kb, const DVector2& offsets, DAngle angle, int shade, int pal)
|
||||
{
|
||||
const char* temp_kb;
|
||||
if (numplayers == 1)
|
||||
|
@ -136,7 +136,7 @@ void DrawMotorCycle(int const kb, DVector2 offsets, DAngle angle, int shade, int
|
|||
//
|
||||
//---------------------------------------------------------------------------
|
||||
|
||||
void DrawBoat(int const kb, DVector2 offsets, DAngle angle, int shade, int pal, bool notonwater)
|
||||
void DrawBoat(int const kb, const DVector2& offsets, DAngle angle, int shade, int pal, bool notonwater)
|
||||
{
|
||||
const char* temp_kb;
|
||||
int temp2, temp3;
|
||||
|
|
Loading…
Reference in a new issue