mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 14:59:14 +02:00
fix warning in VisualStudio
This commit is contained in:
parent
113d132d8e
commit
42d2d4bbe5
1 changed files with 1 additions and 1 deletions
|
@ -855,7 +855,7 @@ void PhysicsEngine::addContactAddedCallback(PhysicsEngine::ContactAddedCallback
|
||||||
}
|
}
|
||||||
|
|
||||||
void PhysicsEngine::removeContactAddedCallback(PhysicsEngine::ContactAddedCallback cb) {
|
void PhysicsEngine::removeContactAddedCallback(PhysicsEngine::ContactAddedCallback cb) {
|
||||||
int32_t numCallbacks = _contactAddedCallbacks.size();
|
int32_t numCallbacks = (int32_t)(_contactAddedCallbacks.size());
|
||||||
for (int32_t i = 0; i < numCallbacks; ++i) {
|
for (int32_t i = 0; i < numCallbacks; ++i) {
|
||||||
if (_contactAddedCallbacks[i] == cb) {
|
if (_contactAddedCallbacks[i] == cb) {
|
||||||
// found it --> remove it
|
// found it --> remove it
|
||||||
|
|
Loading…
Reference in a new issue