From 9e31b42e723be969de0183eed48132d9dcecc6ac Mon Sep 17 00:00:00 2001 From: Lee Salzman Date: Tue, 12 Feb 2008 05:22:41 +0000 Subject: [PATCH] gcc fixes git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1643 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- source/src/rendergl.cpp | 2 +- source/src/sound.cpp | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) 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); +