summaryrefslogtreecommitdiff
path: root/src/game/g_svcmds.c
diff options
context:
space:
mode:
authorZack Middleton <zturtleman@gmail.com>2014-12-01 21:53:06 -0600
committerTim Angus <tim@ngus.net>2015-03-17 11:39:02 +0000
commit01088875e4373d0f041cafb9e6a5ca80f9793efd (patch)
tree4afe1bdae1e39f3b0636f313e968e930d6365a79 /src/game/g_svcmds.c
parente9153002f1ed520b7e7c87d2f379dd466fe8a408 (diff)
Fix negative glyph index in Team Arena text functions
Team Arena's text functions cast signed char values to int and use as an array index. This works fine for values 0 to 127, but not for -128 to -1 which are a negative array index. Instead use "character & 255" like client and original Q3 ui/cgame string drawing code.
Diffstat (limited to 'src/game/g_svcmds.c')
0 files changed, 0 insertions, 0 deletions