From: hgn Date: Tue, 2 Aug 2022 23:14:41 +0000 (+0100) Subject: bugfix X-Git-Url: https://harrygodden.com/git/?a=commitdiff_plain;ds=sidebyside;h=fe76a19eea0fd2564ab931ec2f0c7cfba768d8b8;p=carveJwlIkooP6JGAAIwe30JlM.git bugfix --- diff --git a/models/mp_dev.mdl b/models/mp_dev.mdl index 5f0de7c..fc3981a 100644 Binary files a/models/mp_dev.mdl and b/models/mp_dev.mdl differ diff --git a/world_sfd.h b/world_sfd.h index 88f7331..3977e62 100644 --- a/world_sfd.h +++ b/world_sfd.h @@ -44,7 +44,7 @@ float sfd_encode_glyph( char c ) value = 63-c; else { - int base = 'A'+11+27; + int base = 11+26; switch( c ) { @@ -58,8 +58,8 @@ float sfd_encode_glyph( char c ) case '*': value=base+7; break; case '+': value=base+8; break; case '-': value=base+9; break; - case ':': value=base+10; break; - case '/': value=base+11; break; + case '/': value=base+10; break; + case ':': value=base+11; break; default: value=0; break; } } @@ -120,6 +120,7 @@ static void sfd_update( struct sfd_instance *display ) static void sfd_render( struct sfd_instance *display, m4x4f projection, v3f camera, m4x3f transform ) { + return; struct subworld_sfd *sfd = subworld_sfd(); scene_bind( &sfd->mesh );