]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - src/script/lua_api/l_base.h
Code modernization: subfolders (#6283)
[dragonfireclient.git] / src / script / lua_api / l_base.h
index af89afd931e179bf6c5fa614cc1c227f6297acc0..0a75b4c1adac022df512342bc9236b6a4aa4b630 100644 (file)
@@ -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 L_BASE_H_
-#define L_BASE_H_
+#pragma once
 
 #include "common/c_types.h"
 #include "common/c_internal.h"
@@ -30,7 +29,7 @@ extern "C" {
 }
 
 #ifndef SERVER
-#include "client.h"
+class Client;
 #endif
 
 class ScriptApiBase;
@@ -71,5 +70,3 @@ class ModApiBase {
                        lua_CFunction func,
                        int top);
 };
-
-#endif /* L_BASE_H_ */