about summary refs log tree commit diff
path: root/src/game/editor/editor.cpp
diff options
context:
space:
mode:
authoroy <Tom_Adams@web.de>2013-02-24 18:55:55 +0100
committeroy <Tom_Adams@web.de>2013-02-24 18:55:55 +0100
commit0e92dd560300a0b255b5c173e715f2714e7c1765 (patch)
treecc261eadddbd707b56dd018757c251a578a98384 /src/game/editor/editor.cpp
parent118d2ac837537cd625679a57aca03cd47f2e71a1 (diff)
downloadzcatch-0e92dd560300a0b255b5c173e715f2714e7c1765.tar.gz
zcatch-0e92dd560300a0b255b5c173e715f2714e7c1765.zip
fixed some merge problems
Diffstat (limited to 'src/game/editor/editor.cpp')
-rw-r--r--src/game/editor/editor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/editor/editor.cpp b/src/game/editor/editor.cpp
index ccd1757f..28a4eda9 100644
--- a/src/game/editor/editor.cpp
+++ b/src/game/editor/editor.cpp
@@ -1449,7 +1449,7 @@ void CEditor::DoQuadEnvelopes(const array<CQuad> &lQuads, int TexID)
 	Graphics()->LinesEnd();
 
 	//Draw Quads
-	Graphics()->TextureSet(Texture);
+	Graphics()->TextureSet(TexID);
 	Graphics()->QuadsBegin();
 	
 	for(int j = 0; j < Num; j++)
@@ -1510,7 +1510,7 @@ void CEditor::DoQuadEnvelopes(const array<CQuad> &lQuads, int TexID)
 		}
 	}
 	Graphics()->QuadsEnd();
-	Graphics()->TextureClear();
+	Graphics()->TextureSet(-1);
 	Graphics()->QuadsBegin();
 
 	// Draw QuadPoints