]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - contrib/bobtoolz/DBobView.cpp
Revert partially (auto) "reformat code! now the code is only ugly on the *inside*"
[xonotic/netradiant.git] / contrib / bobtoolz / DBobView.cpp
index 55dd8e4dd58d083435c2e79be5fd901c77fbbcaa..decfe7790664dbd3dd4654d2907177aac1323205 100644 (file)
@@ -143,7 +143,7 @@ void DBobView::SetPath( vec3_t *pPath ){
        path = pPath;
 }
 
-#define LOCAL_GRAVITY -800.0f
+const float LOCAL_GRAVITY = -800.0f;
 
 bool DBobView::CalculateTrajectory( vec3_t start, vec3_t apex, float multiplier, int points, float varGravity ){
        if ( apex[2] <= start[2] ) {
@@ -264,4 +264,4 @@ void DBobView_setEntity( Entity& entity, float multiplier, int points, float var
                globalErrorStream() << "bobToolz PathPlotter: Entity must have a targetname.\n";
        }
        return;
-}
\ No newline at end of file
+}