Wrong comparison between pointers and integral type.

This commit is contained in:
David Carlier
2018-07-30 16:51:24 +01:00
parent b6d879d510
commit 76d2e2b9a6
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1495,7 +1495,7 @@ MultiCall Manager::call(ScriptCallback cb) {
for(auto it = modules.begin(), end = modules.end(); it != end; ++it) {
Module& mod = *it->second;
if(mod.callbacks[cb] > 0)
if(mod.callbacks[cb] != nullptr)
calls.calls.push_back(mod.call(cb));
}