summaryrefslogblamecommitdiff
path: root/games/scorched3d/files/patch-src-engine-ActionMeta.h
blob: 5b3ef2fe98e620e1f0ca9497e3ac51cd4fd38c53 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                                                                          
--- src/engine/ActionMeta.h.orig	Wed Jul 30 17:41:29 2003
+++ src/engine/ActionMeta.h	Sun Aug  3 09:07:12 2003
@@ -29,7 +29,7 @@
 
 #define REGISTER_ACTION_HEADER(x) \
 	virtual const char *getActionName() { return #x ; } \
-	##x *getActionCopy() { return new x ; } \
+	x *getActionCopy() { return new x ; } \
 	virtual bool getReferenced() { return true; }
 #define REGISTER_ACTION_SOURCE(x) \
 	struct META_##x { META_##x() { ActionMetaRegistration::addMap(#x , new x ); } }; \