diff options
| author | GreYFoXGTi <GreYFoXGTi@GMaiL.CoM> | 2011-02-13 08:53:25 +0200 |
|---|---|---|
| committer | oy <Tom_Adams@web.de> | 2011-02-13 12:58:04 +0100 |
| commit | 0ec755ee741cd0f7694e5081db4c5341f6199829 (patch) | |
| tree | cc19fd12d47abd713a58c197b535d6c9ad6d55a3 /src/game | |
| parent | 68a1a29db8641348937548fea1cb32dab2317a0c (diff) | |
| download | zcatch-0ec755ee741cd0f7694e5081db4c5341f6199829.tar.gz zcatch-0ec755ee741cd0f7694e5081db4c5341f6199829.zip | |
Reverted In-accurate naming
Diffstat (limited to 'src/game')
| -rw-r--r-- | src/game/collision.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/collision.cpp b/src/game/collision.cpp index 9b6d6faa..8acddc6e 100644 --- a/src/game/collision.cpp +++ b/src/game/collision.cpp @@ -73,8 +73,8 @@ int CCollision::IntersectLine(vec2 Pos0, vec2 Pos1, vec2 *pOutCollision, vec2 *p for(int i = 0; i < End; i++) { - float PointOnLine = i/Distance; - vec2 Pos = mix(Pos0, Pos1, PointOnLine); + float a = i/Distance; + vec2 Pos = mix(Pos0, Pos1, a); if(CheckPoint(Pos.x, Pos.y)) { if(pOutCollision) |