diff options
| author | Magnus Auvinen <magnus.auvinen@gmail.com> | 2008-02-05 19:11:34 +0000 |
|---|---|---|
| committer | Magnus Auvinen <magnus.auvinen@gmail.com> | 2008-02-05 19:11:34 +0000 |
| commit | 91e4c2252b1a07df013cde773d1cead3712bca43 (patch) | |
| tree | 29af0b7c51da9ef48b0c2d66f779f3b43a755e64 /src/game/client/gc_render_obj.cpp | |
| parent | da2d792186d53794d25438c157ac039adbb8c1a6 (diff) | |
| download | zcatch-91e4c2252b1a07df013cde773d1cead3712bca43.tar.gz zcatch-91e4c2252b1a07df013cde773d1cead3712bca43.zip | |
added rotate to editor. fixed so that the game handles envelopes
Diffstat (limited to 'src/game/client/gc_render_obj.cpp')
| -rw-r--r-- | src/game/client/gc_render_obj.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/client/gc_render_obj.cpp b/src/game/client/gc_render_obj.cpp index 1e1d6430..39705444 100644 --- a/src/game/client/gc_render_obj.cpp +++ b/src/game/client/gc_render_obj.cpp @@ -380,7 +380,7 @@ void render_player( if (player.weapon == WEAPON_HAMMER) { // Static position for hammer - p = position; + p = position + vec2(state.attach.x, state.attach.y); p.y += data->weapons[iw].offsety; // if attack is under way, bash stuffs if(direction.x < 0) |