diff options
author | Thorvald Natvig <slicer@users.sourceforge.net> | 2010-02-08 19:11:59 +0300 |
---|---|---|
committer | Thorvald Natvig <slicer@users.sourceforge.net> | 2010-02-08 19:11:59 +0300 |
commit | e207ef60c41d66d94cc44c89118d8e50cbfcfd53 (patch) | |
tree | 764899a71b8283fe902c07ba0d075a9e293bb0d7 /plugins/bf2142 | |
parent | 5271bc0704ad179b5cffe726020038060f7c9d3c (diff) |
Zero camera positions in plugins' fetch()
Diffstat (limited to 'plugins/bf2142')
-rw-r--r-- | plugins/bf2142/bf2142.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/bf2142/bf2142.cpp b/plugins/bf2142/bf2142.cpp index f94d247cb..e1772beb4 100644 --- a/plugins/bf2142/bf2142.cpp +++ b/plugins/bf2142/bf2142.cpp @@ -107,7 +107,7 @@ static void about(HWND h) { static int fetch(float *avatar_pos, float *avatar_front, float *avatar_top, float *camera_pos, float *camera_front, float *camera_top, std::string &context, std::wstring &identity) { for (int i=0;i<3;i++) - avatar_pos[i]=avatar_front[i]=avatar_top[i]=0.0f; + avatar_pos[i] = avatar_front[i] = avatar_top[i] = camera_pos[i] = camera_front[i] = camera_top[i] = 0.0f; char ccontext[128]; char state; |