remove some redundant brackets
This commit is contained in:
parent
20ed422c3a
commit
aae9d43e7d
1 changed files with 2 additions and 2 deletions
|
@ -102,8 +102,8 @@ DrawingCoords TransformUnit::ScreenToDrawing(const ScreenCoords& coords)
|
|||
ScreenCoords TransformUnit::DrawingToScreen(const DrawingCoords& coords)
|
||||
{
|
||||
ScreenCoords ret;
|
||||
ret.x = (((u32)coords.x * 16 + gstate.getOffsetX16()));
|
||||
ret.y = (((u32)coords.y * 16 + gstate.getOffsetY16()));
|
||||
ret.x = (u32)coords.x * 16 + gstate.getOffsetX16();
|
||||
ret.y = (u32)coords.y * 16 + gstate.getOffsetY16();
|
||||
ret.z = coords.z;
|
||||
return ret;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue