*Some work on vehicle.
--HG-- branch : trunk
This commit is contained in:
1 parent
c6d242c2b6
commit
e192d8f39b
11 files changed
+160
-12
No files matched your search
@@ -17,10 +17,12 @@
|
||||
#ifdef USE_DYNAMIC_CAST
|
||||
#define CAST_PLR(a) (dynamic_cast<Player*>(a))
|
||||
#define CAST_CRE(a) (dynamic_cast<Creature*>(a))
|
||||
#define CAST_VEH(a) (dynamic_cast<Vehicle*>(a))
|
||||
#define CAST_AI(a,b) (dynamic_cast<a*>(b))
|
||||
#else
|
||||
#define CAST_PLR(a) (static_cast<Player*>(a))
|
||||
#define CAST_CRE(a) (static_cast<Creature*>(a))
|
||||
#define CAST_VEH(a) (static_cast<Vehicle*>(a))
|
||||
#define CAST_AI(a,b) (static_cast<a*>(b))
|
||||
#endif
|
||||
|
||||
|
||||
Reference in new issue
Block a user