diff options
| author | Magnus Auvinen <magnus.auvinen@gmail.com> | 2008-02-02 18:05:16 +0000 |
|---|---|---|
| committer | Magnus Auvinen <magnus.auvinen@gmail.com> | 2008-02-02 18:05:16 +0000 |
| commit | 5f32f5b36f5013deff20ba5144d6bec9077b6ea2 (patch) | |
| tree | a94e734138edb960420aed65ebdc9a48b022713e /src/game/client/gc_client.cpp | |
| parent | 1fe3202f0b7e2f52e50c430caa744b029fd5bcef (diff) | |
| download | zcatch-5f32f5b36f5013deff20ba5144d6bec9077b6ea2.tar.gz zcatch-5f32f5b36f5013deff20ba5144d6bec9077b6ea2.zip | |
added laser weapon
Diffstat (limited to 'src/game/client/gc_client.cpp')
| -rw-r--r-- | src/game/client/gc_client.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/client/gc_client.cpp b/src/game/client/gc_client.cpp index c092ca73..79b50317 100644 --- a/src/game/client/gc_client.cpp +++ b/src/game/client/gc_client.cpp @@ -1117,7 +1117,7 @@ void render_game() for (int i = 0; i < local_character->weaponstage; i++) gfx_quads_drawTL(x+local_character->ammocount * 12 -i*12, y+22, 11, 11); select_sprite(data->weapons[local_character->weapon%data->num_weapons].sprite_proj); - for (int i = 0; i < local_character->ammocount; i++) + for (int i = 0; i < min(local_character->ammocount, 10); i++) gfx_quads_drawTL(x+i*12,y+24,10,10); gfx_quads_end(); |