Skip to content

Commit 21010df

Browse files
committed
Replicate in Generals
1 parent 09e5835 commit 21010df

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

Generals/Code/GameEngineDevice/Source/W3DDevice/GameClient/Water/W3DWaterTracks.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,6 @@
5959
#include "assetmgr.h"
6060
#include "WW3D2/dx8wrapper.h"
6161

62-
//#pragma optimize("", off)
63-
6462
//#define ALLOW_WATER_TRACK_EDIT
6563

6664
//number of vertex pages allocated - allows double buffering of vertex updates.

Generals/Code/Tools/WorldBuilder/src/DrawObject.cpp

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1622,12 +1622,6 @@ void DrawObject::setRampFeedbackParms(const Coord3D *start, const Coord3D *end,
16221622
}
16231623

16241624

1625-
// This routine fails to draw poly triggers in some cases when optimized.
1626-
// So just shut it off for now. The failure case was new doc, add a poly trigger.
1627-
// Adding any other object fixed the problem. jba
1628-
1629-
#pragma optimize("", off)
1630-
16311625
/** Render draws into the current 3d context. */
16321626
void DrawObject::Render(RenderInfoClass & rinfo)
16331627
{
@@ -1933,7 +1927,7 @@ void DrawObject::Render(RenderInfoClass & rinfo)
19331927
}
19341928

19351929
}
1936-
#pragma optimize("", on)
1930+
19371931

19381932
void BuildRectFromSegmentAndWidth(const Coord3D* start, const Coord3D* end, Real width,
19391933
Coord3D* outBL, Coord3D* outTL, Coord3D* outBR, Coord3D* outTR)

0 commit comments

Comments
 (0)