[Remove] Killed my new/delete overloads in Character.h to stop KonoM from bitching at me.
This commit is contained in:
parent
1b2ea15604
commit
50a948152d
@ -47,21 +47,21 @@ public:
|
|||||||
|
|
||||||
void OnAttack(void);
|
void OnAttack(void);
|
||||||
|
|
||||||
inline void* operator new(size_t size) {
|
// inline void* operator new(size_t size) {
|
||||||
return gMemManager.Allocate(size);
|
// return gMemManager.Allocate(size);
|
||||||
}
|
// }
|
||||||
|
//
|
||||||
inline void operator delete(void* object) {
|
// inline void operator delete(void* object) {
|
||||||
gMemManager.Free(object);
|
// gMemManager.Free(object);
|
||||||
}
|
// }
|
||||||
|
//
|
||||||
inline void* operator new [](size_t size) {
|
// inline void* operator new [](size_t size) {
|
||||||
return gMemManager.Allocate(size);
|
// return gMemManager.Allocate(size);
|
||||||
}
|
// }
|
||||||
|
//
|
||||||
inline void operator delete [](void* object) {
|
// inline void operator delete [](void* object) {
|
||||||
gMemManager.Free(object);
|
// gMemManager.Free(object);
|
||||||
}
|
// }
|
||||||
|
|
||||||
static const int FACING_UP = 0;
|
static const int FACING_UP = 0;
|
||||||
static const int FACING_RIGHT = 1;
|
static const int FACING_RIGHT = 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user