diff --git a/source/src/rendergl.cpp b/source/src/rendergl.cpp index b2bf904e..29dce4bd 100644 --- a/source/src/rendergl.cpp +++ b/source/src/rendergl.cpp @@ -131,7 +131,7 @@ void quad(GLuint tex, float x, float y, float s, float tx, float ty, float tsx, xtraverts += 4; } -void quad(GLuint tex, vec &c1, vec &c2, float tx, float ty, float tsx, float tsy) +void quad(GLuint tex, const vec &c1, const vec &c2, float tx, float ty, float tsx, float tsy) { if(!tsy) tsy = tsx; glBindTexture(GL_TEXTURE_2D, tex); diff --git a/source/src/sound.cpp b/source/src/sound.cpp index 9537c437..8d95175e 100644 --- a/source/src/sound.cpp +++ b/source/src/sound.cpp @@ -514,4 +514,5 @@ void voicecom(char *sound, char *text) } } -COMMAND(voicecom, ARG_2STR); \ No newline at end of file +COMMAND(voicecom, ARG_2STR); +