mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
Tidy up and fix the various Assert macros
Rephrase the macros so that they can be used in expressions, and properly require semicolons. And add the semicolons where missing.
This commit is contained in:
parent
e03c3bb34f
commit
c19a70814c
11 changed files with 40 additions and 44 deletions
|
|
@ -224,7 +224,7 @@ void fxShapeReplicator::CreateShapes(void)
|
|||
}
|
||||
|
||||
// Check Shapes.
|
||||
AssertFatal(mCurrentShapeCount==0,"Shapes already present, this should not be possible!")
|
||||
AssertFatal(mCurrentShapeCount==0,"Shapes already present, this should not be possible!");
|
||||
|
||||
// Check that we have a shape...
|
||||
if (!mFieldData.mShapeFile) return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue