diff options
| author | Magnus Auvinen <magnus.auvinen@gmail.com> | 2009-06-07 14:36:54 +0000 |
|---|---|---|
| committer | Magnus Auvinen <magnus.auvinen@gmail.com> | 2009-06-07 14:36:54 +0000 |
| commit | cdc5f26900dc10e10679ba76a30f195e8b3f5505 (patch) | |
| tree | 415b28219072589b09031c145d34def8e0f8956b /src/game/client/components/controls.cpp | |
| parent | 4bb1df318905f491740f4298c69cda317fb53fcb (diff) | |
| download | zcatch-cdc5f26900dc10e10679ba76a30f195e8b3f5505.tar.gz zcatch-cdc5f26900dc10e10679ba76a30f195e8b3f5505.zip | |
new font rendering system using freetype2. only compiles under linux for now
Diffstat (limited to 'src/game/client/components/controls.cpp')
| -rw-r--r-- | src/game/client/components/controls.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/client/components/controls.cpp b/src/game/client/components/controls.cpp index af114ce2..b48fb198 100644 --- a/src/game/client/components/controls.cpp +++ b/src/game/client/components/controls.cpp @@ -170,7 +170,7 @@ int CONTROLS::snapinput(int *data) void CONTROLS::on_render() { // update target pos - if(!(gameclient.snap.gameobj && gameclient.snap.gameobj->paused || gameclient.snap.spectate)) + if(gameclient.snap.gameobj && !(gameclient.snap.gameobj->paused || gameclient.snap.spectate)) target_pos = gameclient.local_character_pos + mouse_pos; } |