From 3af127e1f6620889fa71eb6a91b93d5a3be34b80 Mon Sep 17 00:00:00 2001 From: Lee Salzman Date: Mon, 15 Sep 2008 09:07:13 +0000 Subject: [PATCH] reset line width after drawing cursor git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2619 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- source/src/editing.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/src/editing.cpp b/source/src/editing.cpp index 39886122..1aed68c1 100644 --- a/source/src/editing.cpp +++ b/source/src/editing.cpp @@ -188,6 +188,8 @@ void cursorupdate() // called every frame fr linestyle(GRIDS, 0xFF, 0x40, 0x40); box(sel, (float)selh, (float)selh, (float)selh, (float)selh); } + + glLineWidth(1); } vector undos; // unlimited undo