about summary refs log tree commit diff
path: root/src/game/client
diff options
context:
space:
mode:
authorMagnus Auvinen <magnus.auvinen@gmail.com>2009-01-11 14:32:23 +0000
committerMagnus Auvinen <magnus.auvinen@gmail.com>2009-01-11 14:32:23 +0000
commite673e607dce91586ab1f09d01b571a9ae65e73c5 (patch)
treea2e7b2a50c9d17da84adbaafc77c2ac0d7c01fb6 /src/game/client
parent96e65f599a437dd15059f6ed533883c702917551 (diff)
downloadzcatch-e673e607dce91586ab1f09d01b571a9ae65e73c5.tar.gz
zcatch-e673e607dce91586ab1f09d01b571a9ae65e73c5.zip
fixed so that emoticon 0 works
Diffstat (limited to 'src/game/client')
-rw-r--r--src/game/client/components/emoticon.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/client/components/emoticon.cpp b/src/game/client/components/emoticon.cpp
index d76d6b22..3f2233c6 100644
--- a/src/game/client/components/emoticon.cpp
+++ b/src/game/client/components/emoticon.cpp
@@ -83,7 +83,7 @@ void EMOTICON::on_render()
 {
 	if(!active)
 	{
-		if(was_active && selected_emote)
+		if(was_active && selected_emote != -1)
 			emote(selected_emote);
 		was_active = false;
 		return;