diff options
author | Thorvald Natvig <slicer@users.sourceforge.net> | 2009-04-22 16:59:59 +0400 |
---|---|---|
committer | Thorvald Natvig <slicer@users.sourceforge.net> | 2009-04-22 16:59:59 +0400 |
commit | a6886afe8faac4356ee8bf4e438af8599998b3e5 (patch) | |
tree | 7439129a73b7787d7940cf2e21648c13ae76fdbb /plugins/aoc | |
parent | 6a4fa301f319754fc58652c1baf49aaf8fbbdcf4 (diff) |
Indent, changelog and submodule update
Diffstat (limited to 'plugins/aoc')
-rw-r--r-- | plugins/aoc/aoc.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/aoc/aoc.cpp b/plugins/aoc/aoc.cpp index 35cadfc86..c8aa84c78 100644 --- a/plugins/aoc/aoc.cpp +++ b/plugins/aoc/aoc.cpp @@ -160,18 +160,18 @@ static int fetch(float *avatar_pos, float *avatar_front, float *avatar_top, floa bool ok; char state; char ccontext[256]; - + context = std::string(ccontext); ok = peekProc(posptr, ipos, 12) && peekProc(rotptr, rot, 12) && peekProc(stateptr, &state, 1) && - peekProc(ccontextptr, ccontext, 256); - + peekProc(ccontextptr, ccontext, 256); + if (ok) { int res = calcout(ipos, rot, avatar_pos, avatar_front, avatar_top); if (res) { - for(int i=0;i<3;++i) { + for (int i=0;i<3;++i) { camera_pos[i] = avatar_pos[i]; camera_front[i] = avatar_front[i]; camera_top[i] = avatar_top[i]; |