mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-19 20:24:49 +00:00
Change default damage and white flash
Change both the damage flash and white out values to return 0 by default. This prevents a damage flash or white out from displaying for GameBase derived classes that don't override these methods. From https://github.com/GarageGames/Torque3D/issues/395
This commit is contained in:
parent
9d9c6bf7d3
commit
d095576a25
|
|
@ -409,8 +409,8 @@ public:
|
|||
virtual bool isValidCameraFov( F32 fov ) { return true; }
|
||||
virtual bool useObjsEyePoint() const { return false; }
|
||||
virtual bool onlyFirstPerson() const { return false; }
|
||||
virtual F32 getDamageFlash() const { return 1.0f; }
|
||||
virtual F32 getWhiteOut() const { return 1.0f; }
|
||||
virtual F32 getDamageFlash() const { return 0.0f; }
|
||||
virtual F32 getWhiteOut() const { return 0.0f; }
|
||||
|
||||
// Not implemented here, but should return the Camera to world transformation matrix
|
||||
virtual void getCameraTransform (F32 *pos, MatrixF *mat ) { *mat = MatrixF::Identity; }
|
||||
|
|
|
|||
Loading…
Reference in a new issue