Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
BraXi committed Sep 12, 2024
1 parent ca4c923 commit 9e8b37f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/engine/script/qcvm_utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,6 @@ char* Scr_GetParmString(unsigned int parm)
/*
============
Scr_GetParmVector
Returns param as a vector
============
*/
Expand All @@ -203,8 +202,7 @@ float* Scr_GetParmVector(unsigned int parm)
/*
============
Scr_GetParmVector2
Returns param as a vector
Returns param as a vector and stores them into three floats
============
*/
void Scr_GetParmVector2(unsigned int parm, float *x, float *y, float *z)
Expand Down Expand Up @@ -261,6 +259,9 @@ Returns int to script
void Scr_ReturnInt(int val)
{
G_FLOAT(OFS_RETURN) = val;

// this should be G_INT? i remember there was some problem with it, making this a commit to test later
//G_INT(OFS_RETURN) = val;
}

/*
Expand Down

0 comments on commit 9e8b37f

Please sign in to comment.