aboutsummaryrefslogtreecommitdiff
path: root/src/light.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/light.h')
-rw-r--r--src/light.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/light.h b/src/light.h
index 30a647581..14fd26d1d 100644
--- a/src/light.h
+++ b/src/light.h
@@ -17,8 +17,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#ifndef LIGHT_HEADER
-#define LIGHT_HEADER
+#pragma once
#include "irrlichttypes.h"
@@ -124,5 +123,3 @@ inline u8 blend_light(u32 daylight_factor, u8 lightday, u8 lightnight)
l = LIGHT_SUN;
return l;
}
-
-#endif