mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-24 22:05:40 +00:00
* BugFix: Clear a lot of warnings and correct a few actual programming errors along the way.
This commit is contained in:
parent
ef514d0e6b
commit
1b6b803a20
61 changed files with 120 additions and 118 deletions
|
|
@ -1962,7 +1962,7 @@ void ContextAction::processTick()
|
|||
if (mActive)
|
||||
{
|
||||
F32 currTime = Sim::getCurrentTime();
|
||||
static const char *argv[2];
|
||||
static const char *argv[3];
|
||||
|
||||
//see if this key even is still active
|
||||
if (!mBreakEvent)
|
||||
|
|
|
|||
|
|
@ -92,7 +92,7 @@ class ActionMap : public SimObject
|
|||
U32 deviceInst;
|
||||
|
||||
Vector<Node> nodeMap;
|
||||
DeviceMap():deviceType(NULL), deviceInst(NULL){
|
||||
DeviceMap():deviceType(0), deviceInst(0){
|
||||
VECTOR_SET_ASSOCIATION(nodeMap);
|
||||
}
|
||||
~DeviceMap();
|
||||
|
|
|
|||
|
|
@ -407,7 +407,7 @@ DefineEngineMethod( NetObject, getClientObject, S32, (),,
|
|||
if ( obj )
|
||||
return obj->getId();
|
||||
|
||||
return NULL;
|
||||
return 0;
|
||||
}
|
||||
|
||||
//ConsoleMethod( NetObject, getClientObject, S32, 2, 2, "Short-Circuit-Netorking: this is only valid for a local-client / singleplayer situation." )
|
||||
|
|
@ -439,7 +439,7 @@ DefineEngineMethod( NetObject, getServerObject, S32, (),,
|
|||
if ( obj )
|
||||
return obj->getId();
|
||||
|
||||
return NULL;
|
||||
return 0;
|
||||
}
|
||||
|
||||
//ConsoleMethod( NetObject, getServerObject, S32, 2, 2, "Short-Circuit-Netorking: this is only valid for a local-client / singleplayer situation." )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue