From e267cd7c80afe59983923b121ccef4f4c782bad4 Mon Sep 17 00:00:00 2001 From: Dren Kajmakci Date: Mon, 17 Oct 2016 02:24:34 +0200 Subject: [PATCH] refactor: spacing on function call parameters --- Engine/source/T3D/staticShape.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Engine/source/T3D/staticShape.cpp b/Engine/source/T3D/staticShape.cpp index ffad91dd3..424f3134a 100644 --- a/Engine/source/T3D/staticShape.cpp +++ b/Engine/source/T3D/staticShape.cpp @@ -251,14 +251,14 @@ void StaticShape::onUnmount(ShapeBase*,S32) U32 StaticShape::packUpdate(NetConnection *connection, U32 mask, BitStream *bstream) { - U32 retMask = Parent::packUpdate(connection,mask,bstream); + U32 retMask = Parent::packUpdate(connection, mask, bstream); if (bstream->writeFlag(mask & PositionMask | ExtendedInfoMask)) { // Write the transform (do _not_ use writeAffineTransform. Since this is a static // object, the transform must be RIGHT THE *&)*$&^ ON or it will goof up the // synchronization between the client and the server. - mathWrite(*bstream,mObjToWorld); + mathWrite(*bstream, mObjToWorld); mathWrite(*bstream, mObjScale); } @@ -275,11 +275,11 @@ U32 StaticShape::packUpdate(NetConnection *connection, U32 mask, BitStream *bstr void StaticShape::unpackUpdate(NetConnection *connection, BitStream *bstream) { - Parent::unpackUpdate(connection,bstream); + Parent::unpackUpdate(connection, bstream); if (bstream->readFlag()) { MatrixF mat; - mathRead(*bstream,&mat); + mathRead(*bstream, &mat); Parent::setTransform(mat); Parent::setRenderTransform(mat); @@ -302,7 +302,7 @@ void StaticShape::unpackUpdate(NetConnection *connection, BitStream *bstream) // This appears to be legacy T2 stuff // Marked internal, as this is flagged to be deleted // [8/1/2010 mperry] -DefineConsoleMethod( StaticShape, setPoweredState, void, (bool isPowered), , "(bool isPowered)" +DefineConsoleMethod(StaticShape, setPoweredState, void, (bool isPowered), , "(bool isPowered)" "@internal") { if(!object->isServerObject()) @@ -310,7 +310,7 @@ DefineConsoleMethod( StaticShape, setPoweredState, void, (bool isPowered), , "(b object->setPowered(isPowered); } -DefineConsoleMethod( StaticShape, getPoweredState, bool, (), , "@internal") +DefineConsoleMethod(StaticShape, getPoweredState, bool, (), , "@internal") { if(!object->isServerObject()) return(false); -- 2.11.4.GIT