diff options
Diffstat (limited to 'src/game')
| -rw-r--r-- | src/game/client/game_client.cpp | 4 | ||||
| -rw-r--r-- | src/game/client/mapres_tilemap.cpp | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/src/game/client/game_client.cpp b/src/game/client/game_client.cpp index c500cb70..45bd2ad2 100644 --- a/src/game/client/game_client.cpp +++ b/src/game/client/game_client.cpp @@ -951,7 +951,7 @@ static void render_player(obj_player *prev, obj_player *player) if (dir.x < 0.0f) hadokenangle += pi; gfx_quads_setrotation(hadokenangle); - float offsety = -data->weapons[iw].muzzleoffsety; + //float offsety = -data->weapons[iw].muzzleoffsety; select_sprite(data->weapons[iw].sprite_muzzle[itex].psprite, 0); vec2 diry(-dir.y,dir.x); p = position; @@ -1707,7 +1707,7 @@ void modc_render() render_tee(&idlestate, skin, vec2(1,0), vec2(offsetx + x+90, offsets[player->team]+24)); sprintf(buf, "%4d", player->latency); - float tw = gfx_pretty_text_width(48.0f, buf); + //float tw = gfx_pretty_text_width(48.0f, buf); gfx_pretty_text(offsetx + x + 240, offsets[player->team], 48, buf); offsets[player->team] += 58.0f; diff --git a/src/game/client/mapres_tilemap.cpp b/src/game/client/mapres_tilemap.cpp index 357e8870..bc7cbe6d 100644 --- a/src/game/client/mapres_tilemap.cpp +++ b/src/game/client/mapres_tilemap.cpp @@ -40,8 +40,6 @@ void tilemap_render(float scale, int fg) { gfx_texture_set(img_get(tmap->image)); - glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR); - if(!batches[t]) { gfx_quads_begin(); |