summaryrefslogtreecommitdiff
path: root/hge
diff options
context:
space:
mode:
Diffstat (limited to 'hge')
-rw-r--r--hge/sound.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/hge/sound.cpp b/hge/sound.cpp
index 5880b5a..9f6869c 100644
--- a/hge/sound.cpp
+++ b/hge/sound.cpp
@@ -420,7 +420,7 @@ int CALL HGE_Impl::Channel_GetPos_BySample(HCHANNEL chn)
alGetSourcei((ALuint)chn,AL_SAMPLE_OFFSET,&res);
return (int)res;
}
- else return -1.0f;
+ else return -1;
}
void CALL HGE_Impl::Channel_SetPos_BySample(HCHANNEL chn, int iSample)