mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-20 17:03:05 +00:00
NEVERHOOD: Silence noisy compiler warning.
This is due to NULL being used. Switching to nullptr which is equivalent i.e. 0 should silence this.
This commit is contained in:
parent
3a4507bf5a
commit
d81f6450c9
@ -47,7 +47,7 @@ Entity *MessageParam::asEntity() const {
|
||||
}
|
||||
|
||||
Entity::Entity(NeverhoodEngine *vm, int priority)
|
||||
: _vm(vm), _updateHandlerCb(NULL), _messageHandlerCb(NULL), _priority(priority), _soundResources(NULL) {
|
||||
: _vm(vm), _updateHandlerCb(NULL), _messageHandlerCb(nullptr), _priority(priority), _soundResources(NULL) {
|
||||
}
|
||||
|
||||
Entity::~Entity() {
|
||||
|
@ -98,7 +98,7 @@ public:
|
||||
void incGlobalVar(uint32 nameHash, int incrValue);
|
||||
void incSubVar(uint32 nameHash, uint32 subNameHash, int incrValue);
|
||||
int getPriority() const { return _priority; }
|
||||
bool hasMessageHandler() const { return _messageHandlerCb != NULL; }
|
||||
bool hasMessageHandler() const { return _messageHandlerCb != nullptr; }
|
||||
protected:
|
||||
void (Entity::*_updateHandlerCb)();
|
||||
uint32 (Entity::*_messageHandlerCb)(int messageNum, const MessageParam ¶m, Entity *sender);
|
||||
|
Loading…
x
Reference in New Issue
Block a user